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: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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