Revision d722af8b src/Ganeti/Constants.hs
b/src/Ganeti/Constants.hs | ||
---|---|---|
4157 | 4157 |
cryptoTypes :: FrozenSet String |
4158 | 4158 |
cryptoTypes = ConstantUtils.mkSet [cryptoTypeSslDigest] |
4159 | 4159 |
|
4160 |
-- * Crypto Actions |
|
4161 |
-- Actions that can be performed on crypto tokens |
|
4162 |
|
|
4163 |
cryptoActionGet :: String |
|
4164 |
cryptoActionGet = "get" |
|
4165 |
|
|
4166 |
-- This is 'create and get' |
|
4167 |
cryptoActionCreate :: String |
|
4168 |
cryptoActionCreate = "create" |
|
4169 |
|
|
4170 |
cryptoActions :: FrozenSet String |
|
4171 |
cryptoActions = ConstantUtils.mkSet [cryptoActionGet, cryptoActionCreate] |
|
4172 |
|
|
4173 |
-- * Options for CryptoActions |
|
4174 |
|
|
4175 |
-- Filename of the certificate |
|
4176 |
cryptoOptionCertFile :: String |
|
4177 |
cryptoOptionCertFile = "cert_file" |
|
4160 | 4178 |
|
4161 | 4179 |
-- * SSH key types |
4162 | 4180 |
|
Also available in: Unified diff