Documentation ¶
Index ¶
- func CreateVaultEnv(kubeClient kubernetes.Interface) (map[string]string, error)
- func MaskedCommandRunner(c *cmdrunner.Command) (string, error)
- func MastSecretArgs(args []string) []string
- func VerifyVaultBinary(commandRunner cmdrunner.CommandRunner, env map[string]string) (string, error)
- func WaitForVault(commandRunner, quietCommandRunner cmdrunner.CommandRunner, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVaultEnv ¶
func CreateVaultEnv(kubeClient kubernetes.Interface) (map[string]string, error)
CreateVaultEnv creates the vault env vars
func MaskedCommandRunner ¶ added in v0.1.44
MaskedCommandRunner mask the command line arguments when logging
func MastSecretArgs ¶ added in v0.1.44
MastSecretArgs lets mask any passwords/tokens in the arguments passed into the vault CLI e.g. for the arguments: : kv put secret/jx/pipelineUser token=dummyPipelineToken
func VerifyVaultBinary ¶
func VerifyVaultBinary(commandRunner cmdrunner.CommandRunner, env map[string]string) (string, error)
VerifyVaultBinary verifies the vault binary
func WaitForVault ¶ added in v0.1.44
func WaitForVault(commandRunner, quietCommandRunner cmdrunner.CommandRunner, kubeClient kubernetes.Interface) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.