Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRegisteredTypesString ¶
func ListRegisteredTypesString() []string
func RegisterNewSecretType ¶
func RegisterNewSecretType(newType SecretType, handlerFunc SecretsHandlerInstantiator) error
Types ¶
type SecretType ¶
type SecretType string
const (
DBSecretType SecretType = "db"
)
func ListRegisteredTypes ¶
func ListRegisteredTypes() []SecretType
func ParseType ¶
func ParseType(s string) (SecretType, error)
func (*SecretType) Setup ¶
func (x *SecretType) Setup() (SecretsHandler, error)
func (SecretType) String ¶
func (x SecretType) String() string
String returns a string representation of the SecretType.
type SecretsHandler ¶
type SecretsHandlerInstantiator ¶
type SecretsHandlerInstantiator func() (SecretsHandler, error)
Click to show internal directories.
Click to hide internal directories.