Documentation ¶
Index ¶
Constants ¶
View Source
const ( AWSSecretsmanagerEndpoint = "AWS_SECRETSMANAGER_ENDPOINT" AWSSTSEndpoint = "AWS_STS_ENDPOINT" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, log logr.Logger, kubeClient ctrlclient.Client, store smv1alpha1.GenericStore) (store.Client, error)
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) GetSecret ¶
func (a *AWS) GetSecret(ctx context.Context, ref smv1alpha1.RemoteReference) ([]byte, error)
func (*AWS) GetSecretMap ¶
func (a *AWS) GetSecretMap(ctx context.Context, ref smv1alpha1.RemoteReference) (map[string][]byte, error)
type EndpointResolver ¶ added in v0.3.0
type EndpointResolver struct {
// contains filtered or unexported fields
}
EndpointResolver resolves custom endpoints for aws services
func (*EndpointResolver) ResolveEndpoint ¶ added in v0.3.0
func (r *EndpointResolver) ResolveEndpoint(service, region string) (aws.Endpoint, error)
ResolveEndpoint resolves custom endpoints if provided
Click to show internal directories.
Click to hide internal directories.