Documentation ¶
Overview ¶
Package kubernetes provides the kubernetes secrets backend.
Index ¶
Constants ¶
View Source
const (
// BackendType is the type of the Kubernetes secrets backend.
BackendType = "kubernetes"
)
Variables ¶
View Source
var NewCaas = newCaas
NewCaas is patched for testing.
Functions ¶
func BuiltInConfig ¶
func BuiltInConfig(cloudSpec cloudspec.CloudSpec) (*provider.BackendConfig, error)
BuiltInConfig returns the config needed to create a k8s secrets backend using the same namespace as the specified model.
func BuiltInName ¶
BuiltInName returns the backend name for the k8s in-model backend.
func IsBuiltInName ¶
IsBuiltInName returns true of the backend name is the built-in one.
func NewProvider ¶
func NewProvider() provider.SecretBackendProvider
NewProvider returns a Kubernetes secrets provider.
Types ¶
type Broker ¶
type Broker interface { caas.SecretsBackend caas.SecretsProvider Version() (ver *version.Number, err error) }
Click to show internal directories.
Click to hide internal directories.