Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalJSONorYAML ¶
Types ¶
type Decryptor ¶
type Decryptor interface {
// Checks if given content is encrypted by the decryptor interface
IsEncrypted(data []byte) (bool, error)
// Reads the given content, based on the decrypter config attempts to decrypt
Decrypt(data []byte) (content map[string]interface{}, err error)
// Read Private Keys from kubernetes secret
KeysFromSecret(secretName string, namespace string, client *kubernetes.Clientset, ctx context.Context) (err error)
}
type DecryptorConfig ¶
type DecryptorConfig struct {
// Decryption is skipped, but decryption metadata is removed
SkipDecrypt bool
}
type MissingKubernetesSecret ¶
func (*MissingKubernetesSecret) Error ¶
func (e *MissingKubernetesSecret) Error() string
Click to show internal directories.
Click to hide internal directories.