vm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FListInfo

type FListInfo struct {
	ImagePath  string
	KernelPath string
	InitrdPath string
}

FListInfo virtual machine details

func (*FListInfo) IsContainer

func (t *FListInfo) IsContainer() bool

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(zbus zbus.Client) *Manager

func (*Manager) Deprovision

func (p *Manager) Deprovision(ctx context.Context, wl *gridtypes.WorkloadWithID) error

func (*Manager) Initialize

func (m *Manager) Initialize(ctx context.Context) error

func (*Manager) Pause

func (m *Manager) Pause(ctx context.Context, wl *gridtypes.WorkloadWithID) error

func (*Manager) Provision

func (p *Manager) Provision(ctx context.Context, wl *gridtypes.WorkloadWithID) (interface{}, error)

func (*Manager) Resume

func (m *Manager) Resume(ctx context.Context, wl *gridtypes.WorkloadWithID) error

type ZMachine

type ZMachine = zos.ZMachine

ZMachine type

Jump to

Keyboard shortcuts

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