Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Manager ¶
type Manager interface {
Create(pool, name string, image io.ReadCloser) (*Image, error)
Clone(baseImageID, targetPool, targetName string, size uint64) (*Image, error)
List(pool string) ([]Image, error)
Get(pool, name string) (*Image, error)
Remove(ID string) error
}
Manager is the iterface which describes the image management. With create we can create an image in a certain pool (e.g. config isos, base images, images). The pool is to distingush between various image categories. It allows to retrieve only images of a certain type.
Click to show internal directories.
Click to hide internal directories.