package
1.3.0
Repository: https://github.com/go-sigma/sigma.git
Documentation: pkg.go.dev

# Functions

GenDSErrCodeResourceCountQuotaExceedNamespaceRepository ...
GenDSErrCodeResourceCountQuotaExceedNamespaceTag ...
GenDSErrCodeResourceCountQuotaExceedRepository ...
GenDSErrCodeResourceNotFound ...
GenDSErrCodeResourceSizeQuotaExceedNamespace ...
GenDSErrCodeResourceSizeQuotaExceedRepository ...
NewDSError generates a distribution-spec error response.
NewHTTPError creates a new HTTPError instance.

# Variables

DSErrCodeBlobAssociated is returned when a blob upload is attempted for a blob that is already referenced by another manifest.
DSErrCodeBlobUnknown is returned when a blob is unknown to the registry.
DSErrCodeBlobUploadDigestMismatch is returned when an upload digest mismatch.
DSErrCodeBlobUploadInvalid is returned when an upload is invalid.
DSErrCodeBlobUploadUnknown is returned when an upload is unknown.
DSErrCodeDenied is returned if a client does not have sufficient permission to perform an action.
DSErrCodeDigestInvalid is returned when uploading a blob if the provided digest does not match the blob contents.
DSErrCodeManifestBlobUnknown is returned when a manifest blob is unknown to the registry.
DSErrCodeManifestInvalid returned when an image manifest is invalid, typically during a PUT operation.
DSErrCodeManifestUnknown returned when image manifest is unknown.
DSErrCodeManifestUnverified is returned when the manifest fails signature verification.
DSErrCodeManifestWithNamespace is returned when a manifest name is invalid because it must contain a valid namespace.
DSErrCodeNameInvalid is returned when the name in the manifest does not match the provided name.
DSErrCodeNameUnknown when the repository name is not known.
DSErrCodePaginationNumberInvalid is returned when the `n` parameter is not an integer, or `n` is negative.
DSErrCodeRangeInvalid is returned when uploading a blob if the provided content range is invalid.
No description provided by the author
DSErrCodeSizeInvalid is returned when uploading a blob if the provided.
DSErrCodeTagInvalid is returned when the tag in the manifest does not match the provided tag.
DSErrCodeTooManyRequests is returned if a client attempts too many times to contact a service endpoint.
DSErrCodeUnauthorized is returned if a request requires authentication.
DSErrCodeUnavailable provides a common error to report unavailability of a service or endpoint.
DSErrCodeUnknown is a generic error that can be used as a last resort if there is no situation-specific error message that can be used.
DSErrCodeUnsupported is returned when an operation is not supported.
HTTPErrCodeBadRequest is a bad request error.
HTTPErrCodeConflict is a conflict error.
HTTPErrCodeCreated is a created error.
HTTPErrCodeForbidden is a forbidden error.
HTTPErrCodeInternalError is an internal error.
HTTPErrCodeMethodNotAllowed is a method not allowed error.
HTTPErrCodeNotAcceptable is a not acceptable error.
HTTPErrCodeNotFound is a not found error.
HTTPErrCodeOK is an OK error.
HTTPErrCodePaginationInvalid is a pagination invalid error.
HTTPErrCodeUnauthorized is an unauthorized error.
HTTPErrCodeVerificationCodeInvalid is a verification code error.

# Structs

ErrCode provides relevant information about a given error code.