Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncusImage ¶
type IncusImage struct { Metadata api.ImageMetadata // contains filtered or unexported fields }
An IncusImage represents an Incus image.
func NewIncusImage ¶
func NewIncusImage(ctx context.Context, sourceDir, targetDir, cacheDir string, definition shared.Definition) *IncusImage
NewIncusImage returns an IncusImage.
type LXCImage ¶
type LXCImage struct {
// contains filtered or unexported fields
}
LXCImage represents a LXC image.
func NewLXCImage ¶
func NewLXCImage(ctx context.Context, sourceDir, targetDir, cacheDir string, definition shared.Definition) *LXCImage
NewLXCImage returns a LXCImage.
func (*LXCImage) AddTemplate ¶
AddTemplate adds an entry to the templates file.
Click to show internal directories.
Click to hide internal directories.