Documentation
¶
Index ¶
- type PublicKeyConfigEncryptionAdapter
- func (p PublicKeyConfigEncryptionAdapter) Decrypt(ctx context.Context, name common.SimpleDoguName, ...) (common.SensitiveDoguConfigValue, error)
- func (p PublicKeyConfigEncryptionAdapter) DecryptAll(ctx context.Context, ...) (map[common.SensitiveDoguConfigKey]common.SensitiveDoguConfigValue, error)
- func (p PublicKeyConfigEncryptionAdapter) Encrypt(_ context.Context, name common.SimpleDoguName, ...) (common.EncryptedDoguConfigValue, error)
- func (p PublicKeyConfigEncryptionAdapter) EncryptAll(_ context.Context, ...) (map[common.SensitiveDoguConfigKey]common.EncryptedDoguConfigValue, error)
- type SecretEtcdSensitiveDoguConfigRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKeyConfigEncryptionAdapter ¶
type PublicKeyConfigEncryptionAdapter struct {
// contains filtered or unexported fields
}
func NewPublicKeyConfigEncryptionAdapter ¶
func NewPublicKeyConfigEncryptionAdapter(secretClient secret, registry etcdRegistry, namespace string) *PublicKeyConfigEncryptionAdapter
func (PublicKeyConfigEncryptionAdapter) Decrypt ¶
func (p PublicKeyConfigEncryptionAdapter) Decrypt( ctx context.Context, name common.SimpleDoguName, encryptedValue common.EncryptedDoguConfigValue, ) (common.SensitiveDoguConfigValue, error)
func (PublicKeyConfigEncryptionAdapter) DecryptAll ¶
func (p PublicKeyConfigEncryptionAdapter) DecryptAll(ctx context.Context, entries map[common.SensitiveDoguConfigKey]common.EncryptedDoguConfigValue) (map[common.SensitiveDoguConfigKey]common.SensitiveDoguConfigValue, error)
func (PublicKeyConfigEncryptionAdapter) Encrypt ¶
func (p PublicKeyConfigEncryptionAdapter) Encrypt( _ context.Context, name common.SimpleDoguName, value common.SensitiveDoguConfigValue, ) (common.EncryptedDoguConfigValue, error)
func (PublicKeyConfigEncryptionAdapter) EncryptAll ¶
func (p PublicKeyConfigEncryptionAdapter) EncryptAll( _ context.Context, entries map[common.SensitiveDoguConfigKey]common.SensitiveDoguConfigValue, ) (map[common.SensitiveDoguConfigKey]common.EncryptedDoguConfigValue, error)
type SecretEtcdSensitiveDoguConfigRepository ¶
type SecretEtcdSensitiveDoguConfigRepository struct { *etcd.SensitiveDoguConfigRepository *kubernetes.SecretSensitiveDoguConfigRepository }
func NewCombinedSecretEtcdSensitiveDoguConfigRepository ¶
func NewCombinedSecretEtcdSensitiveDoguConfigRepository(etcdRepo *etcd.SensitiveDoguConfigRepository, secretRepo *kubernetes.SecretSensitiveDoguConfigRepository) *SecretEtcdSensitiveDoguConfigRepository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.