Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AddOptions ¶
type AddOptions struct {
Annotations map[string]string `json:"annotations,omitempty"`
ArtifactType string `json:",omitempty"`
// append option is not compatible with ArtifactType option
Append bool `json:",omitempty"`
// FileType describes the media type for the layer. It is an override
// for the standard detection
FileType string `json:",omitempty"`
}
AddOptions are additional descriptors of an artifact file
type BlobMountPath ¶ added in v5.5.0
type BlobMountPath struct {
// Source path of the blob, i.e. full path in the blob dir.
SourcePath string
// Name of the file in the container.
Name string
}
BlobMountPath contains the info on how the artifact must be mounted
type BlobMountPathOptions ¶ added in v5.5.0
type BlobMountPathOptions struct {
FilterBlobOptions
}
type ExtractOptions ¶ added in v5.5.0
type ExtractOptions struct {
FilterBlobOptions
}
type FilterBlobOptions ¶ added in v5.5.0
type FilterBlobOptions struct {
// Title annotation value to extract only a single blob matching that name.
// Optional. Conflicts with Digest.
Title string
// Digest of the blob to extract.
// Optional. Conflicts with Title.
Digest string
}
FilterBlobOptions options used to filter for a single blob in an artifact
type GetArtifactOptions ¶
type GetArtifactOptions struct{}
GetArtifactOptions is a struct containing options that for obtaining artifacts. It is meant for future growth or changes required without wacking the API
Click to show internal directories.
Click to hide internal directories.