Documentation
¶
Index ¶
- Variables
- type Binary
- type Blob
- type Container
- func (c *Container) AddBinary(fnames []string) error
- func (c *Container) Copy(names ...string) error
- func (c *Container) Save(dirname string) error
- func (c *Container) SetLabels(labels ...string) error
- func (c *Container) WriteBlobs(dirname string) error
- func (c *Container) WriteIndex(dirname string) error
- func (c *Container) WriteLayout(dirname string) error
- type Layer
- type TarItem
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidCopyName = errors.New("invalid copy name (format: <file>[:<destination>])") ErrorInvalidLabelFormat = errors.New("invalid label (format: <key>=<value>)") )
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
Platform ocischemav1.Platform
File string
}
type Container ¶
type Container struct {
Blobs []Blob
Layout ocischemav1.ImageLayout
Index ocischemav1.Index
Labels map[string]string
}
func (*Container) WriteBlobs ¶
func (*Container) WriteIndex ¶
func (*Container) WriteLayout ¶
Click to show internal directories.
Click to hide internal directories.