local

package
v19.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
}

Stack is the implementation of the local driver regarding to the api.ClientAPI

func (*Stack) AddPublicIPToVIP

func (s *Stack) AddPublicIPToVIP(vip *resources.VIP) error

AddPublicIPToVIP stub

func (*Stack) BindHostToVIP

func (s *Stack) BindHostToVIP(vip *resources.VIP, host *resources.Host) error

BindHostToVIP stub

func (*Stack) CreateGateway

func (s *Stack) CreateGateway(req resources.GatewayRequest) (*resources.Host, *userdata.Content, error)

CreateGateway stub

func (*Stack) CreateHost

func (s *Stack) CreateHost(request resources.HostRequest) (*resources.Host, *userdata.Content, error)

CreateHost stub

func (*Stack) CreateKeyPair

func (s *Stack) CreateKeyPair(name string) (*resources.KeyPair, error)

CreateKeyPair stub

func (*Stack) CreateNetwork

func (s *Stack) CreateNetwork(req resources.NetworkRequest) (*resources.Network, error)

CreateNetwork stub

func (*Stack) CreateVIP

func (s *Stack) CreateVIP(networkID string, description string) (*resources.VIP, error)

CreateVIP stub

func (*Stack) CreateVolume

func (s *Stack) CreateVolume(request resources.VolumeRequest) (*resources.Volume, error)

CreateVolume stub

func (*Stack) CreateVolumeAttachment

func (s *Stack) CreateVolumeAttachment(request resources.VolumeAttachmentRequest) (string, error)

CreateVolumeAttachment stub

func (*Stack) DeleteGateway

func (s *Stack) DeleteGateway(string) error

DeleteGateway stub

func (*Stack) DeleteHost

func (s *Stack) DeleteHost(id string) error

DeleteHost stub

func (*Stack) DeleteKeyPair

func (s *Stack) DeleteKeyPair(id string) error

DeleteKeyPair stub

func (*Stack) DeleteNetwork

func (s *Stack) DeleteNetwork(id string) error

DeleteNetwork stub

func (*Stack) DeleteVIP

func (s *Stack) DeleteVIP(vip *resources.VIP) error

DeleteVIP stub

func (*Stack) DeleteVolume

func (s *Stack) DeleteVolume(id string) error

DeleteVolume stub

func (*Stack) DeleteVolumeAttachment

func (s *Stack) DeleteVolumeAttachment(serverID, id string) error

DeleteVolumeAttachment stub

func (*Stack) GetAuthenticationOptions

func (s *Stack) GetAuthenticationOptions() stacks.AuthenticationOptions

GetAuthenticationOptions stub

func (*Stack) GetConfigurationOptions

func (s *Stack) GetConfigurationOptions() stacks.ConfigurationOptions

GetConfigurationOptions stub

func (*Stack) GetHostByName

func (s *Stack) GetHostByName(string) (*resources.Host, error)

GetHostByName stub

func (*Stack) GetHostState

func (s *Stack) GetHostState(interface{}) (HostState.Enum, error)

GetHostState stub

func (*Stack) GetImage

func (s *Stack) GetImage(id string) (*resources.Image, error)

GetImage stub

func (*Stack) GetKeyPair

func (s *Stack) GetKeyPair(id string) (*resources.KeyPair, error)

GetKeyPair stub

func (*Stack) GetNetwork

func (s *Stack) GetNetwork(id string) (*resources.Network, error)

GetNetwork stub

func (*Stack) GetNetworkByName

func (s *Stack) GetNetworkByName(name string) (*resources.Network, error)

GetNetworkByName stub

func (*Stack) GetTemplate

func (s *Stack) GetTemplate(id string) (*resources.HostTemplate, error)

GetTemplate stub

func (*Stack) GetVolume

func (s *Stack) GetVolume(id string) (*resources.Volume, error)

GetVolume stub

func (*Stack) GetVolumeAttachment

func (s *Stack) GetVolumeAttachment(serverID, id string) (*resources.VolumeAttachment, error)

GetVolumeAttachment stub

func (*Stack) InspectHost

func (s *Stack) InspectHost(interface{}) (*resources.Host, error)

InspectHost stub

func (*Stack) ListAvailabilityZones

func (s *Stack) ListAvailabilityZones() (map[string]bool, error)

ListAvailabilityZones stub

func (*Stack) ListHosts

func (s *Stack) ListHosts() ([]*resources.Host, error)

ListHosts stub

func (*Stack) ListImages

func (s *Stack) ListImages(all bool) ([]resources.Image, error)

ListImages stub

func (*Stack) ListKeyPairs

func (s *Stack) ListKeyPairs() ([]resources.KeyPair, error)

ListKeyPairs stub

func (*Stack) ListNetworks

func (s *Stack) ListNetworks() ([]*resources.Network, error)

ListNetworks stub

func (*Stack) ListRegions

func (s *Stack) ListRegions() ([]string, error)

ListRegions stub

func (*Stack) ListTemplates

func (s *Stack) ListTemplates(all bool) ([]resources.HostTemplate, error)

ListTemplates stub

func (*Stack) ListVolumeAttachments

func (s *Stack) ListVolumeAttachments(serverID string) ([]resources.VolumeAttachment, error)

ListVolumeAttachments stub

func (*Stack) ListVolumes

func (s *Stack) ListVolumes() ([]resources.Volume, error)

ListVolumes stub

func (*Stack) RebootHost

func (s *Stack) RebootHost(id string) error

RebootHost stub

func (*Stack) ResizeHost

func (s *Stack) ResizeHost(id string, request resources.SizingRequirements) (*resources.Host, error)

ResizeHost stub

func (*Stack) StartHost

func (s *Stack) StartHost(id string) error

StartHost stub

func (*Stack) StopHost

func (s *Stack) StopHost(id string) error

StopHost stub

func (*Stack) UnbindHostFromVIP

func (s *Stack) UnbindHostFromVIP(vip *resources.VIP, host *resources.Host) error

UnbindHostFromVIP stub

Jump to

Keyboard shortcuts

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