Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
Caller interface used to abstract the implementation details for issuing an HTTP request. This allows for easier testing by the way of mocks.
type ErrSecretNameNotFound ¶
type ErrSecretNameNotFound struct {
// contains filtered or unexported fields
}
ErrSecretNameNotFound error when a secret secretName cannot be found.
func NewErrSecretNameNotFound ¶
func NewErrSecretNameNotFound(description string) ErrSecretNameNotFound
NewErrSecretNameNotFound creates a new ErrSecretsNotFound error.
func (ErrSecretNameNotFound) Error ¶
func (e ErrSecretNameNotFound) Error() string
type ErrSecretStore ¶
type ErrSecretStore struct {
// contains filtered or unexported fields
}
ErrSecretStore error for unexpected problems with the secret store.
func NewErrSecretStore ¶
func NewErrSecretStore(description string) ErrSecretStore
NewErrSecretStore creates an ErrSecretStore error type.
func (ErrSecretStore) Error ¶
func (e ErrSecretStore) Error() string
type ErrSecretsNotFound ¶
type ErrSecretsNotFound struct {
// contains filtered or unexported fields
}
ErrSecretsNotFound error when a secret cannot be found. This aids in differentiating between empty("") values and non-existent keys
func NewErrSecretsNotFound ¶
func NewErrSecretsNotFound(keys []string) ErrSecretsNotFound
NewErrSecretsNotFound creates a new ErrSecretsNotFound error.
func (ErrSecretsNotFound) Error ¶
func (scnf ErrSecretsNotFound) Error() string
type TokenExpiredCallback ¶
TokenExpiredCallback is the callback function to handle the case when the secret store token has already expired