Documentation
¶
Overview ¶
Package provider defines the interfaces and types for secret providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Destination ¶
func CreateDestination ¶
CreateDestination creates a Destination for the given provider type.
type DestinationFactory ¶
DestinationFactory creates a Destination provider from opaque options.
type Provider ¶
type Provider interface {
Source
Destination
}
type Registration ¶
type Registration struct {
Name Type
SourceFactory SourceFactory
DestFactory DestinationFactory
}
Registration holds factory functions for a provider type.
func Get ¶
func Get(t Type) (Registration, error)
Get returns the registration for the given provider type.
type SourceFactory ¶
SourceFactory creates a Source provider from opaque options.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package etcd implements a provider for etcd key-value store.
|
Package etcd implements a provider for etcd key-value store. |
|
Package file implements a provider that reads and writes secrets from/to a local file.
|
Package file implements a provider that reads and writes secrets from/to a local file. |
|
Package github implements a provider for GitHub repository secrets and variables.
|
Package github implements a provider for GitHub repository secrets and variables. |
|
Package gitlab implements a provider for GitLab project variables.
|
Package gitlab implements a provider for GitLab project variables. |
|
Package kubernetes implements a provider that reads/writes secrets from/to Kubernetes Secrets and ConfigMaps.
|
Package kubernetes implements a provider that reads/writes secrets from/to Kubernetes Secrets and ConfigMaps. |
|
Package vault implements the provider interface for HashiCorp Vault.
|
Package vault implements the provider interface for HashiCorp Vault. |
Click to show internal directories.
Click to hide internal directories.