Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchProviderSecrets ¶
func FetchProviderSecrets(p providers.SecretsProvider, spec SecretsSpec) (map[string]string, error)
func ProviderRegistry ¶
Types ¶
type Literal ¶
func (*Literal) UnmarshalYAML ¶
type RegistryFunc ¶
type SecretGenerator ¶
type SecretGenerator struct { Meta types.ObjectMeta `yaml:"metadata"` Type string `yaml:"type"` Sources []SecretSource `yaml:"sources"` Literals []Literal `yaml:"literals"` }
func ParseConfig ¶
func ParseConfig(data []byte) (*SecretGenerator, error)
func (*SecretGenerator) FetchSecrets ¶
func (sg *SecretGenerator) FetchSecrets(registry RegistryFunc) (map[string]string, error)
type SecretSource ¶
type SecretSource struct { Provider string `yaml:"provider"` SecretsSpec `yaml:",inline"` Params map[string]string `yaml:"params"` }
type SecretsSpec ¶
Click to show internal directories.
Click to hide internal directories.