Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCustomClient ¶
func SetCustomClient(c VaultClient)
SetCustomClient is used if a custom client needs to be used. Currently only used for testing.
Types ¶
type BankVaultClient ¶
type BankVaultClient struct {
// contains filtered or unexported fields
}
type VaultClient ¶
func NewClient ¶
func NewClient() (VaultClient, error)
NewClient returns the default VaultClient implementation, ready to be used. It automatically detects, if there was a Vault token provided or if it's running withing kubernetes.
Click to show internal directories.
Click to hide internal directories.