internal

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibvirtOptions

type LibvirtOptions struct {
	URI          string
	BaseImageDir string
}

func NewLibvirtDefaultOptions

func NewLibvirtDefaultOptions() *LibvirtOptions

func (*LibvirtOptions) BindFlags

func (o *LibvirtOptions) BindFlags(cmd *cobra.Command, prefix string)

type Manager

type Manager struct {
	ConfigImagePool string
	BaseImagePool   string
	VMImagePool     string
	Image           image.Manager
	VM              vm.Manager
}

func NewLibvirtManager

func NewLibvirtManager(o *LibvirtOptions) (*Manager, error)

func (*Manager) Create

func (m *Manager) Create(name, baseImageName string, vmConfig *vm.Config, ciConfig *cloudinit.Config) error

func (*Manager) Remove

func (m *Manager) Remove(name string) error

Directories

Path Synopsis
dir
vm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL