Documentation ¶
Index ¶
- Constants
- func AuthKubernetes() (token string, accessor string, err error)
- func AuthToken() (token string, err error)
- func AutoCompleteGetFiles(directories []string) (*[]ExtendedFileInfo, error)
- func AutoCompleteInit() (err error)
- func EndsWithSlashIfNotEmpty(s string) (r string)
- func FlattenMap(data map[string]interface{}) (flattened map[string]interface{}, err error)
- func GetVaultKVPath(e *ExtendedFileInfo) (path string, err error)
- func Mapper(i interface{}) interface{}
- func ReadJwtToken(path string) (string, error)
- func Routine(i interface{}, kvMount string, kvVersion int, kvPath string, c *vault.Client) (err error)
- func TrimQuotes(s string) (r string)
- func VaultClientInit() (c *vault.Client, err error)
- func VaultDeleteSecret(kvMount string, kvPath string, c *vault.Client)
- func VaultGetCurrentSecretList(kvMount string, c *vault.Client) map[string]int
- func VaultKVIdempotentWrite(secret interface{}, kvMount string, kvVersion int, kvPath string, ...) (err error)
- func VaultSecretDataIsDifferent(newData map[string]interface{}, vaultSecret *vault.Secret, kvVersion int) (b bool, err error)
- type ExtendedFileInfo
Constants ¶
View Source
const ( EnvAutoComplete = "AUTO_COMPLETE" EnvAutoCompleteFilePrefix = "AUTO_COMPLETE_FILE_PREFIX" EnvAutoCompleteVaultKVPathPrefix = "AUTO_COMPLETE_VAULT_KV_PATH_PREFIX" EnvAutoCompleteAdditionalSuffixFilters = "AUTO_COMPLETE_ADDITIONAL_SUFFIX_FILTERS" EnvAutoCompletePrune = "AUTO_COMPLETE_PRUNE" EnvFlatten = "FLATTEN" EnvVaultKvMount = "VAULT_KV_MOUNT" EnvVaultKvPath = "VAULT_KV_PATH" EnvVaultKvVersion = "VAULT_KV_VERSION" EnvVaultAddr = "VAULT_ADDR" EnvVaultToken = "VAULT_TOKEN" EnvVaultAuthMethod = "VAULT_AUTH_METHOD" EnvVaultAuthKubernetesRole = "VAULT_AUTH_K8S_ROLE" EnvVaultAuthKubernetesMountPath = "VAULT_AUTH_K8S_MOUNT_PATH" EnvVaultTlsSkipVerify = "VAULT_TLS_SKIP_VERIFY" )
Variables ¶
This section is empty.
Functions ¶
func AuthKubernetes ¶
func AutoCompleteGetFiles ¶
func AutoCompleteGetFiles(directories []string) (*[]ExtendedFileInfo, error)
func AutoCompleteInit ¶
func AutoCompleteInit() (err error)
func EndsWithSlashIfNotEmpty ¶
func FlattenMap ¶
func GetVaultKVPath ¶
func GetVaultKVPath(e *ExtendedFileInfo) (path string, err error)
func ReadJwtToken ¶
func TrimQuotes ¶
func VaultClientInit ¶
func VaultKVIdempotentWrite ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.