Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { // Manifest is the OCI manifest for the artifact with the name. // In a valid artifact the Manifest is guaranteed to not be nil. Manifest *manifest.OCI1 Name string }
func (*Artifact) SetName ¶
SetName is a accessor for setting the artifact name Note: long term this may not be needed, and we would be comfortable with simply using the exported field called Name
func (*Artifact) TotalSizeBytes ¶
TotalSizeBytes returns the total bytes of the all the artifact layers
type ArtifactList ¶
type ArtifactList []*Artifact
func (ArtifactList) GetByNameOrDigest ¶
func (al ArtifactList) GetByNameOrDigest(nameOrDigest string) (*Artifact, bool, error)
GetByNameOrDigest returns an artifact, if present, by a given name Returns an error if not found
Click to show internal directories.
Click to hide internal directories.