Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VaultError ¶
type VaultError struct { Type VaultErrorType Err error }
func (VaultError) Error ¶
func (ve VaultError) Error() string
type VaultErrorType ¶
type VaultErrorType string
const ( VaultAddressMissingError VaultErrorType = "Vault address missing in env and config." VaultConnectionError VaultErrorType = "Cannot connect to vault. Are you on the VA VPN?" VaultClientLoadError VaultErrorType = "Cannot create vault api client." VaultClientReadError VaultErrorType = "Failed to read value from api client." VaultTokenMissingError VaultErrorType = "Vault token missing in env and config." VaultTypeCastError VaultErrorType = "Failed to type cast value." VaultUnexpectedError VaultErrorType = "Unexpected error while connecting to Vault." )
type VaultResult ¶
type VaultResult interface{}
Click to show internal directories.
Click to hide internal directories.