ukvm

package
v0.0.0-...-937b75d Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UkvmStateFile

func UkvmStateFile() string

Types

type UkvmProvider

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

func NewUkvmProvider

func NewUkvmProvider(config config.Ukvm) (*UkvmProvider, error)

func (*UkvmProvider) AttachVolume

func (p *UkvmProvider) AttachVolume(id, instanceId, mntPoint string) error

func (*UkvmProvider) CreateVolume

func (p *UkvmProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)

func (*UkvmProvider) DeleteImage

func (p *UkvmProvider) DeleteImage(id string, force bool) error

func (*UkvmProvider) DeleteInstance

func (p *UkvmProvider) DeleteInstance(id string, force bool) error

func (*UkvmProvider) DeleteVolume

func (p *UkvmProvider) DeleteVolume(id string, force bool) error

func (*UkvmProvider) DetachVolume

func (p *UkvmProvider) DetachVolume(id string) error

func (*UkvmProvider) GetConfig

func (p *UkvmProvider) GetConfig() providers.ProviderConfig

func (*UkvmProvider) GetImage

func (p *UkvmProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)

func (*UkvmProvider) GetInstance

func (p *UkvmProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)

func (*UkvmProvider) GetInstanceLogs

func (p *UkvmProvider) GetInstanceLogs(id string) (string, error)

func (*UkvmProvider) GetVolume

func (p *UkvmProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)

func (*UkvmProvider) ListImages

func (p *UkvmProvider) ListImages() ([]*types.Image, error)

func (*UkvmProvider) ListInstances

func (p *UkvmProvider) ListInstances() ([]*types.Instance, error)

func (*UkvmProvider) ListVolumes

func (p *UkvmProvider) ListVolumes() ([]*types.Volume, error)

func (*UkvmProvider) PullImage

func (p *UkvmProvider) PullImage(params types.PullImagePararms) error

func (*UkvmProvider) PushImage

func (p *UkvmProvider) PushImage(params types.PushImagePararms) error

func (*UkvmProvider) RemoteDeleteImage

func (p *UkvmProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error

func (*UkvmProvider) RunInstance

func (p *UkvmProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)

func (*UkvmProvider) Stage

func (p *UkvmProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)

func (*UkvmProvider) StartInstance

func (p *UkvmProvider) StartInstance(id string) error

func (*UkvmProvider) StopInstance

func (p *UkvmProvider) StopInstance(id string) error

func (*UkvmProvider) WithState

func (p *UkvmProvider) WithState(state state.State) *UkvmProvider

Jump to

Keyboard shortcuts

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