Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PermissionDenied describes an error that occurs when the secret being operated on // does not have the required authorisation set for the caller. PermissionDenied = errors.ConstError("permission denied") // SecretNotFound describes an error that occurs when the secret being operated on // does not exist. SecretNotFound = errors.ConstError("secret not found") // SecretIsNotLocal describes an error that occurs when a secret is not from the current model. SecretIsNotLocal = errors.ConstError("secret is from a different model") // SecretLabelAlreadyExists describes an error that occurs when there's already a secret label for // a specified secret owner. SecretLabelAlreadyExists = errors.ConstError("secret label already exists") // SecretRevisionNotFound describes an error that occurs when the secret revision being operated on // does not exist. SecretRevisionNotFound = errors.ConstError("secret revision not found") // SecretConsumerNotFound describes an error that occurs when the secret consumer being operated on is not found. SecretConsumerNotFound = errors.ConstError("secret consumer not found") // AutoPruneNotSupported describes an error that occurs when a charm secret tries to set auto prune on a secret. AutoPruneNotSupported = errors.ConstError("charm secrets do not support auto prune") // InvalidSecretPermissionChange describes an error that occurs when an attempt is made to update a secret permission // and the scope or subject type is changed. InvalidSecretPermissionChange = errors.ConstError("cannot change a secret permission scope or subject type") // SecretAccessScopeNotFound describes an error that occurs when the secret access scope // being operated on does not exist. SecretAccessScopeNotFound = errors.ConstError("secret access scope not found") // MissingSecretBackendID describes an error that occurs when importing a secret and the backend doesn't exist. MissingSecretBackendID = errors.ConstError("missing secret backend id") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.