aws

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL