Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent struct represnts the init continer
type Config ¶
type Config struct { Secrets []*Secret `json:"secret"` ProviderName string `json:"provider_name"` ProviderConfig *provider.Config `json:"provider_config"` }
Config is the top level struct that composes am Agent configuration file.
type MountPathWriter ¶
type MountPathWriter struct {
// contains filtered or unexported fields
}
MountPathWriter is a main writer
func NewMountPathWriter ¶
func NewMountPathWriter(logger hclog.Logger) *MountPathWriter
NewMountPathWriter is a factory for MountPathWriter
func (*MountPathWriter) WriteSecret ¶
func (w *MountPathWriter) WriteSecret(secret *Secret) error
WriteSecret is a main method for making a secret available to the other container
type Pipeline ¶ added in v0.7.0
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline ...
func NewPipeline ¶ added in v0.7.0
func NewPipeline(writer SecretsWriter, provider Provider, logger hclog.Logger, workersNumber int) *Pipeline
NewPipeline ...
type Secret ¶ added in v0.7.0
type Secret struct { // Name of the secret used as the filename for the rendered secret file. Name string `json:"name"` // URL of the secret e.g. keyvault://name/key URL string `json:"url"` // Mount Path MountPath string `json:"mount_path"` Value string `json:"value"` }
Secret is a metadata object sued for fetching and storing secret
type SecretsWriter ¶
SecretsWriter is an interface for writing secrets
Click to show internal directories.
Click to hide internal directories.