Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomStdinTokenProvider ¶ added in v0.11.1
Types ¶
type AwsStsRepository ¶
type AwsStsRepository struct{}
AwsStsRepository handles setting up an AWS Session
func NewAwsStsRepository ¶
func NewAwsStsRepository() *AwsStsRepository
func (AwsStsRepository) ConfigureSession ¶
func (repo AwsStsRepository) ConfigureSession(profile string) (*types.AwsEnvConfig, error)
Configure Session will setup an AWS Session and return the needed values for the environment variables
func (AwsStsRepository) SetAwsEnvs ¶
func (repo AwsStsRepository) SetAwsEnvs(cfg *types.AwsEnvConfig)
type AwsStsRepositoryIfc ¶
type AwsStsRepositoryIfc interface { ConfigureSession(profile string) (*types.AwsEnvConfig, error) SetAwsEnvs(*types.AwsEnvConfig) }
type BiomeFileParser ¶
type BiomeFileParser struct{}
func NewBiomeFileParser ¶
func NewBiomeFileParser() *BiomeFileParser
func (BiomeFileParser) FindBiome ¶
func (parser BiomeFileParser) FindBiome(biomeName string, searchFiles []string) (*types.BiomeConfig, error)
type BiomeFileParserIfc ¶
type BiomeFileParserIfc interface {
FindBiome(biomeName string, searchFiles []string) (*types.BiomeConfig, error)
}
type DragomanRepo ¶ added in v0.5.0
type DragomanRepo struct {
// contains filtered or unexported fields
}
DragomanRepo handles decryption via dragoman
func NewDragomanRepo ¶ added in v0.5.0
func NewDragomanRepo() (*DragomanRepo, error)
NewDragomanRepo is the builder function for DragomanRepo
type DragomanRepoIfc ¶ added in v0.5.0
The interface for the Dragoman Repository
type MockAwsStsRepository ¶
func (MockAwsStsRepository) ConfigureSession ¶
func (m MockAwsStsRepository) ConfigureSession(profile string) (*types.AwsEnvConfig, error)
func (MockAwsStsRepository) SetAwsEnvs ¶
func (m MockAwsStsRepository) SetAwsEnvs(cfg *types.AwsEnvConfig)
type MockBiomeFileParser ¶
func (MockBiomeFileParser) FindBiome ¶
func (m MockBiomeFileParser) FindBiome(biomeName string, searchFiles []string) (*types.BiomeConfig, error)
type SecretsManager ¶
type SecretsManager struct {
// contains filtered or unexported fields
}
The Secrets Manager Repository for proxying requests to secrets manager
func NewSecretsManagerRepo ¶
func NewSecretsManagerRepo() (*SecretsManager, error)
NewSecretsManagerRepo builds the SecretsManagerRepository and its dependencies
func (SecretsManager) GetSecretString ¶
func (smrepo SecretsManager) GetSecretString(arn string) (string, error)
GetSecretString will pull the secret from Secrets Manager and return the string value
type SecretsManagerIfc ¶
The interface for the Secrets Manager Repository
Click to show internal directories.
Click to hide internal directories.