openstack

package
v0.0.0-...-dd062b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenStack

type OpenStack struct {
	ComputeClient *gophercloud.ServiceClient
	ImageClient   *gophercloud.ServiceClient
	// contains filtered or unexported fields
}

func MakeOpenStack

func MakeOpenStack(identityEndpoint string, username string, password string, tenantName string, networkId string) *OpenStack

func (*OpenStack) BandwidthAccounting

func (this *OpenStack) BandwidthAccounting(vm *lobster.VirtualMachine) int64

func (*OpenStack) ImageDelete

func (this *OpenStack) ImageDelete(imageIdentification string) error

func (*OpenStack) ImageFetch

func (this *OpenStack) ImageFetch(url string, format string) (string, error)

func (*OpenStack) ImageInfo

func (this *OpenStack) ImageInfo(imageIdentification string) (*lobster.ImageInfo, error)

func (*OpenStack) ImageList

func (this *OpenStack) ImageList() ([]*lobster.Image, error)

func (*OpenStack) PlanList

func (this *OpenStack) PlanList() ([]*lobster.Plan, error)

func (*OpenStack) VmAction

func (this *OpenStack) VmAction(vm *lobster.VirtualMachine, action string, value string) error

func (*OpenStack) VmCreate

func (this *OpenStack) VmCreate(vm *lobster.VirtualMachine, options *lobster.VMIVmCreateOptions) (string, error)

func (*OpenStack) VmDelete

func (this *OpenStack) VmDelete(vm *lobster.VirtualMachine) error

func (*OpenStack) VmInfo

func (this *OpenStack) VmInfo(vm *lobster.VirtualMachine) (*lobster.VmInfo, error)

func (*OpenStack) VmReboot

func (this *OpenStack) VmReboot(vm *lobster.VirtualMachine) error

func (*OpenStack) VmReimage

func (this *OpenStack) VmReimage(vm *lobster.VirtualMachine, imageIdentification string) error

func (*OpenStack) VmRename

func (this *OpenStack) VmRename(vm *lobster.VirtualMachine, name string) error

func (*OpenStack) VmSnapshot

func (this *OpenStack) VmSnapshot(vm *lobster.VirtualMachine) (string, error)

func (*OpenStack) VmStart

func (this *OpenStack) VmStart(vm *lobster.VirtualMachine) error

func (*OpenStack) VmStop

func (this *OpenStack) VmStop(vm *lobster.VirtualMachine) error

func (*OpenStack) VmVnc

func (this *OpenStack) VmVnc(vm *lobster.VirtualMachine) (string, error)

Jump to

Keyboard shortcuts

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