Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNonImageArtifactError ¶
NewNonImageArtifactError returns a NonImageArtifactError about an artifact with mimeType.
Types ¶
type NonImageArtifactError ¶
type NonImageArtifactError struct {
// contains filtered or unexported fields
}
NonImageArtifactError (detected via errors.As) is used when asking for an image-specific operation on an object which is not a “container image” in the standard sense (e.g. an OCI artifact)
This is publicly visible as c/image/manifest.NonImageArtifactError (but we don’t provide a public constructor)
func (NonImageArtifactError) Error ¶
func (e NonImageArtifactError) Error() string
Click to show internal directories.
Click to hide internal directories.