Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Anonymous ¶
type Anonymous authn.AuthConfig
Anonymous is an authn.AuthConfig that always returns an anonymous authenticator. It is useful for registries that do not require authentication or when the credentials are not known. It implements authn.Keychain `Resolve` method and can be used as a keychain.
type VerificationResult ¶ added in v1.3.0
type VerificationResult string
VerificationResult represents the result of a verification process.
const ( // VerificationResultSuccess indicates that the artifact has been verified. VerificationResultSuccess VerificationResult = "verified" // VerificationResultFailed indicates that the artifact could not be verified. VerificationResultFailed VerificationResult = "unverified" // VerificationResultIgnored indicates that the artifact has not been verified // but is allowed to proceed. This is used primarily when notation is used // as the verifier. VerificationResultIgnored VerificationResult = "ignored" )
Click to show internal directories.
Click to hide internal directories.