Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContextSecretID identifies a secret ID in a context. ContextSecretID = contextKey("secretID") // ContextRegion identifies a region in a context. ContextRegion = contextKey("region") )
Variables ¶
This section is empty.
Functions ¶
func WithRegion ¶
WithRegion returns a new context with a secret ID.
Types ¶
type SecretStore ¶
type SecretStore interface {
GetSecretValues(ctx context.Context, secretID string) (map[string]string, error)
}
SecretStore provides access to the Pipeline secret store.
type SessionFactory ¶
type SessionFactory struct {
// contains filtered or unexported fields
}
SessionFactory creates an AWS session.
func NewSessionFactory ¶
func NewSessionFactory(secretStore SecretStore) SessionFactory
NewSessionFactory creates a new SessionFactory.
Click to show internal directories.
Click to hide internal directories.