Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTarDescriptor ¶
type ImageIndexTarDescriptor ¶
type ImageIndexTarDescriptor struct {
Refs []string
Images []ImageTarDescriptor
Indexes []ImageIndexTarDescriptor
MediaType string
Digest string
Raw string
}
type ImageIndexWithRef ¶
type ImageIndexWithRef interface {
regv1.ImageIndex
Ref() string
}
type ImageLayerTarDescriptor ¶
type ImageOrImageIndexTarDescriptor ¶
type ImageOrImageIndexTarDescriptor struct {
ImageIndex *ImageIndexTarDescriptor
Image *ImageTarDescriptor
}
type ImageTarDescriptor ¶
type ImageTarDescriptor struct {
Refs []string
Layers []ImageLayerTarDescriptor
Config ConfigTarDescriptor
Manifest ManifestTarDescriptor
}
type ImageWithRef ¶
type ManifestTarDescriptor ¶
type TarDescriptors ¶
type TarDescriptors struct {
// contains filtered or unexported fields
}
func NewTarDescriptors ¶
func NewTarDescriptors(refs []regname.Reference, metadata TarDescriptorsMetadata) (*TarDescriptors, error)
func (*TarDescriptors) ImageLayerStream ¶
func (tds *TarDescriptors) ImageLayerStream(td ImageLayerTarDescriptor) (io.Reader, error)
type TarDescriptorsMetadata ¶
type TarImageOrIndex ¶
type TarImageOrIndex struct {
Image *ImageWithRef
Index *ImageIndexWithRef
}
func MultiRefReadFromFile ¶
func MultiRefReadFromFile(path string) ([]TarImageOrIndex, error)
func (TarImageOrIndex) Ref ¶
func (t TarImageOrIndex) Ref() string
Click to show internal directories.
Click to hide internal directories.