Documentation
¶
Index ¶
- Constants
- func NewAWSSSM() (core.Provider, error)
- func NewAWSSecretsManager() (core.Provider, error)
- func NewAzureKeyVault() (core.Provider, error)
- func NewConsul() (core.Provider, error)
- func NewDoppler() (core.Provider, error)
- func NewDotenv() (core.Provider, error)
- func NewEtcd() (core.Provider, error)
- func NewGoogleSecretManager() (core.Provider, error)
- func NewHashicorpVault() (core.Provider, error)
- func NewHeroku() (core.Provider, error)
- func NewVercel() (core.Provider, error)
- type AWSSSM
- type AWSSSMClient
- type AWSSecretsManager
- func (a *AWSSecretsManager) Get(p core.KeyPath) (*core.EnvEntry, error)
- func (a *AWSSecretsManager) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)
- func (a *AWSSecretsManager) Name() string
- func (a *AWSSecretsManager) Put(p core.KeyPath, val string) error
- func (a *AWSSecretsManager) PutMapping(p core.KeyPath, m map[string]string) error
- type AWSSecretsManagerClient
- type AzureKeyVault
- func (a *AzureKeyVault) Get(p core.KeyPath) (*core.EnvEntry, error)
- func (a *AzureKeyVault) GetMapping(kp core.KeyPath) ([]core.EnvEntry, error)
- func (a *AzureKeyVault) Name() string
- func (a *AzureKeyVault) Put(p core.KeyPath, val string) error
- func (a *AzureKeyVault) PutMapping(p core.KeyPath, m map[string]string) error
- type Consul
- type ConsulClient
- type Doppler
- type DopplerClient
- type DotEnvClient
- type DotEnvReader
- type Dotenv
- type Etcd
- type EtcdClient
- type GoogleSMClient
- type GoogleSecretManager
- func (a *GoogleSecretManager) Get(p core.KeyPath) (*core.EnvEntry, error)
- func (a *GoogleSecretManager) GetMapping(kp core.KeyPath) ([]core.EnvEntry, error)
- func (a *GoogleSecretManager) Name() string
- func (a *GoogleSecretManager) Put(p core.KeyPath, val string) error
- func (a *GoogleSecretManager) PutMapping(p core.KeyPath, m map[string]string) error
- type HashicorpClient
- type HashicorpVault
- func (h *HashicorpVault) Get(p core.KeyPath) (*core.EnvEntry, error)
- func (h *HashicorpVault) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)
- func (h *HashicorpVault) Name() string
- func (h *HashicorpVault) Put(p core.KeyPath, val string) error
- func (h *HashicorpVault) PutMapping(p core.KeyPath, m map[string]string) error
- type Heroku
- type HerokuClient
- type Vercel
- type VercelAPI
- type VercelClient
- type VercelProject
Constants ¶
View Source
const AzureVaultDomain = "vault.azure.net"
View Source
const PROJECTS_ENDPOINT = "/projects"
nolint: golint,stylecheck
View Source
const VERCEL_API_BASE = "https://api.vercel.com/"
nolint: golint,stylecheck
Variables ¶
This section is empty.
Functions ¶
func NewAWSSecretsManager ¶
func NewAzureKeyVault ¶
func NewDoppler ¶ added in v0.6.0
func NewGoogleSecretManager ¶
func NewHashicorpVault ¶
Types ¶
type AWSSSMClient ¶
type AWSSSMClient interface {
GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
}
type AWSSecretsManager ¶
type AWSSecretsManager struct {
// contains filtered or unexported fields
}
func (*AWSSecretsManager) GetMapping ¶
func (*AWSSecretsManager) Name ¶
func (a *AWSSecretsManager) Name() string
func (*AWSSecretsManager) Put ¶ added in v1.3.0
func (a *AWSSecretsManager) Put(p core.KeyPath, val string) error
func (*AWSSecretsManager) PutMapping ¶ added in v1.3.0
type AWSSecretsManagerClient ¶
type AWSSecretsManagerClient interface {
GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}
build interface for the client, replace with this, in tests use literal constructor rig the mock inside
type AzureKeyVault ¶
type AzureKeyVault struct {
// contains filtered or unexported fields
}
func (*AzureKeyVault) GetMapping ¶
func (*AzureKeyVault) Name ¶
func (a *AzureKeyVault) Name() string
func (*AzureKeyVault) Put ¶ added in v1.3.0
func (a *AzureKeyVault) Put(p core.KeyPath, val string) error
func (*AzureKeyVault) PutMapping ¶ added in v1.3.0
type ConsulClient ¶
type Doppler ¶ added in v0.6.0
type Doppler struct {
// contains filtered or unexported fields
}
func (*Doppler) GetMapping ¶ added in v0.6.0
type DopplerClient ¶ added in v0.6.0
type DotEnvClient ¶
type DotEnvReader ¶
type DotEnvReader struct {
}
type EtcdClient ¶
type GoogleSMClient ¶
type GoogleSMClient interface {
AccessSecretVersion(ctx context.Context, req *secretmanagerpb.AccessSecretVersionRequest, opts ...gax.CallOption) (*secretmanagerpb.AccessSecretVersionResponse, error)
}
type GoogleSecretManager ¶
type GoogleSecretManager struct {
// contains filtered or unexported fields
}
func (*GoogleSecretManager) GetMapping ¶
func (*GoogleSecretManager) Name ¶
func (a *GoogleSecretManager) Name() string
func (*GoogleSecretManager) Put ¶ added in v1.3.0
func (a *GoogleSecretManager) Put(p core.KeyPath, val string) error
func (*GoogleSecretManager) PutMapping ¶ added in v1.3.0
type HashicorpClient ¶
type HashicorpVault ¶
type HashicorpVault struct {
// contains filtered or unexported fields
}
func (*HashicorpVault) GetMapping ¶
func (*HashicorpVault) Name ¶
func (h *HashicorpVault) Name() string
func (*HashicorpVault) Put ¶ added in v1.3.0
func (h *HashicorpVault) Put(p core.KeyPath, val string) error
func (*HashicorpVault) PutMapping ¶ added in v1.3.0
type HerokuClient ¶
type VercelAPI ¶
type VercelAPI struct {
// contains filtered or unexported fields
}
func NewVercelAPI ¶
type VercelClient ¶
type VercelProject ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_providers is a generated GoMock package.
|
Package mock_providers is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.