vsphere

package
v0.0.0-...-a58d3e8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Index

Constants

View Source
const VsphereUnikInstanceListener = "VsphereUnikInstanceListener"

Variables

View Source
var VsphereImagesDirectory = "unik/vsphere/images/"
View Source
var VsphereVolumesDirectory = "unik/vsphere/volumes/"

Functions

func VsphereStateFile

func VsphereStateFile() string

Types

type VsphereProvider

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

func NewVsphereProvier

func NewVsphereProvier(config config.Vsphere) (*VsphereProvider, error)

func (*VsphereProvider) AttachVolume

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

func (*VsphereProvider) CreateVolume

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

func (*VsphereProvider) DeleteImage

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

func (*VsphereProvider) DeleteInstance

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

func (*VsphereProvider) DeleteVolume

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

func (*VsphereProvider) DetachVolume

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

func (*VsphereProvider) GetConfig

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

func (*VsphereProvider) GetImage

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

func (*VsphereProvider) GetInstance

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

func (*VsphereProvider) GetInstanceLogs

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

func (*VsphereProvider) GetVolume

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

func (*VsphereProvider) ListImages

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

func (*VsphereProvider) ListInstances

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

func (*VsphereProvider) ListVolumes

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

func (*VsphereProvider) PullImage

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

func (*VsphereProvider) PushImage

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

func (*VsphereProvider) RemoteDeleteImage

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

func (*VsphereProvider) RunInstance

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

func (*VsphereProvider) Stage

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

func (*VsphereProvider) StartInstance

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

func (*VsphereProvider) StopInstance

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

func (*VsphereProvider) WithState

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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