Documentation
¶
Index ¶
- func CreateEncryptionCfgNoWriteKey(keyID string, keyBase64 string, resources ...string) *encryptiondata.Config
- func CreateEncryptionCfgNoWriteKeyMultipleReadKeys(keysResources []EncryptionKeysResourceTuple) *encryptiondata.Config
- func CreateEncryptionCfgWithWriteKey(keysResources []EncryptionKeysResourceTuple) *encryptiondata.Config
- type EncryptionKeysResourceTuple
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEncryptionCfgNoWriteKey ¶
func CreateEncryptionCfgNoWriteKey(keyID string, keyBase64 string, resources ...string) *encryptiondata.Config
func CreateEncryptionCfgNoWriteKeyMultipleReadKeys ¶
func CreateEncryptionCfgNoWriteKeyMultipleReadKeys(keysResources []EncryptionKeysResourceTuple) *encryptiondata.Config
func CreateEncryptionCfgWithWriteKey ¶
func CreateEncryptionCfgWithWriteKey(keysResources []EncryptionKeysResourceTuple) *encryptiondata.Config
Types ¶
type EncryptionKeysResourceTuple ¶
type EncryptionKeysResourceTuple struct {
Resource string
Keys []apiserverconfigv1.Key
// an ordered list of an encryption modes thatch matches the keys
// for example mode[0] matches keys[0]
Modes []string
}
Click to show internal directories.
Click to hide internal directories.