Documentation
¶
Index ¶
- type CloudImg
- func (c *CloudImg) Config(ctx context.Context, vms []*types.VMConfig) (result [][]*types.StorageConfig, boot []*types.BootConfig, err error)
- func (c *CloudImg) Delete(ctx context.Context, ids []string) ([]string, error)
- func (c *CloudImg) GCModule() gc.Module[images.ImageGCSnapshot]
- func (c *CloudImg) Import(ctx context.Context, name string, tracker progress.Tracker, file ...string) error
- func (c *CloudImg) ImportFromReader(ctx context.Context, name string, tracker progress.Tracker, r io.Reader) error
- func (c *CloudImg) Inspect(ctx context.Context, id string) (*types.Image, error)
- func (c *CloudImg) List(ctx context.Context) ([]*types.Image, error)
- func (c *CloudImg) Pull(ctx context.Context, url string, force bool, tracker progress.Tracker) error
- func (c *CloudImg) RegisterGC(orch *gc.Orchestrator)
- func (c *CloudImg) Type() string
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudImg ¶
type CloudImg struct {
// contains filtered or unexported fields
}
CloudImg stores cloud image blobs for UEFI boot under Cloud Hypervisor.
func (*CloudImg) Config ¶
func (c *CloudImg) Config(ctx context.Context, vms []*types.VMConfig) (result [][]*types.StorageConfig, boot []*types.BootConfig, err error)
Config resolves cloud images to qcow2 storage plus firmware boot config.
func (*CloudImg) ImportFromReader ¶ added in v0.2.7
func (*CloudImg) RegisterGC ¶
func (c *CloudImg) RegisterGC(orch *gc.Orchestrator)
type Config ¶
type Config struct {
images.BaseConfig
}
func (*Config) EnsureDirs ¶
func (*Config) FirmwarePath ¶
FirmwarePath returns the UEFI firmware blob (CLOUDHV.fd) under conf.RootDir/firmware.
Click to show internal directories.
Click to hide internal directories.