Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SecretNameKey is a label on the openstorage.Volume object // which corresponds to the name of the secret which holds the // token information. Used for all secret providers SecretNameKey = "openstorage.io/auth-secret-name" // SecretNamespaceKey is a label on the openstorage.Volume object // which corresponds to the namespace of the secret which holds the // token information. Used for all secret providers SecretNamespaceKey = "openstorage.io/auth-secret-namespace" // SecretTokenKey corresponds to the key at which the auth token is stored // in the secret. Used when secrets endpoint is kubernetes secrets SecretTokenKey = "auth-token" )
Variables ¶
View Source
var ( // ErrSecretsNotInitialized is returned when the auth secret provider is not initialized ErrSecretsNotInitialized = errors.New("auth token secret instance not initialized") // ErrAuthTokenNotFound is returned when the auth token was not found in the secret ErrAuthTokenNotFound = errors.New("auth token was not found in the configured secret") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.