Documentation ¶
Index ¶
- type Client
- type KeyManagementService
- func (kms *KeyManagementService) Close(ctx context.Context) error
- func (kms *KeyManagementService) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (kms *KeyManagementService) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (kms *KeyManagementService) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (kms *KeyManagementService) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, ...) (esv1beta1.SecretsClient, error)
- func (kms *KeyManagementService) Validate() (esv1beta1.ValidationResult, error)
- func (kms *KeyManagementService) ValidateStore(store esv1beta1.GenericStore) error
- type SMInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyManagementService ¶
type KeyManagementService struct { Client SMInterface // contains filtered or unexported fields }
func (*KeyManagementService) Close ¶
func (kms *KeyManagementService) Close(ctx context.Context) error
func (*KeyManagementService) GetAllSecrets ¶ added in v0.5.0
func (kms *KeyManagementService) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
Empty GetAllSecrets.
func (*KeyManagementService) GetSecret ¶
func (kms *KeyManagementService) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
GetSecret returns a single secret from the provider.
func (*KeyManagementService) GetSecretMap ¶
func (kms *KeyManagementService) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
GetSecretMap returns multiple k/v pairs from the provider.
func (*KeyManagementService) NewClient ¶
func (kms *KeyManagementService) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
NewClient constructs a new secrets client based on the provided store.
func (*KeyManagementService) Validate ¶ added in v0.4.2
func (kms *KeyManagementService) Validate() (esv1beta1.ValidationResult, error)
func (*KeyManagementService) ValidateStore ¶ added in v0.5.0
func (kms *KeyManagementService) ValidateStore(store esv1beta1.GenericStore) error
type SMInterface ¶
type SMInterface interface {
GetSecretValue(request *kmssdk.GetSecretValueRequest) (response *kmssdk.GetSecretValueResponse, err error)
}
Click to show internal directories.
Click to hide internal directories.