Documentation ¶
Index ¶
- type Stack
- func (s *Stack) AddPublicIPToVIP(vip *resources.VIP) error
- func (s *Stack) BindHostToVIP(vip *resources.VIP, host *resources.Host) error
- func (s *Stack) CreateGateway(req resources.GatewayRequest) (*resources.Host, *userdata.Content, error)
- func (s *Stack) CreateHost(request resources.HostRequest) (*resources.Host, *userdata.Content, error)
- func (s *Stack) CreateKeyPair(name string) (*resources.KeyPair, error)
- func (s *Stack) CreateNetwork(req resources.NetworkRequest) (*resources.Network, error)
- func (s *Stack) CreateVIP(networkID string, description string) (*resources.VIP, error)
- func (s *Stack) CreateVolume(request resources.VolumeRequest) (*resources.Volume, error)
- func (s *Stack) CreateVolumeAttachment(request resources.VolumeAttachmentRequest) (string, error)
- func (s *Stack) DeleteGateway(string) error
- func (s *Stack) DeleteHost(id string) error
- func (s *Stack) DeleteKeyPair(id string) error
- func (s *Stack) DeleteNetwork(id string) error
- func (s *Stack) DeleteVIP(vip *resources.VIP) error
- func (s *Stack) DeleteVolume(id string) error
- func (s *Stack) DeleteVolumeAttachment(serverID, id string) error
- func (s *Stack) GetAuthenticationOptions() stacks.AuthenticationOptions
- func (s *Stack) GetConfigurationOptions() stacks.ConfigurationOptions
- func (s *Stack) GetHostByName(string) (*resources.Host, error)
- func (s *Stack) GetHostState(interface{}) (HostState.Enum, error)
- func (s *Stack) GetImage(id string) (*resources.Image, error)
- func (s *Stack) GetKeyPair(id string) (*resources.KeyPair, error)
- func (s *Stack) GetNetwork(id string) (*resources.Network, error)
- func (s *Stack) GetNetworkByName(name string) (*resources.Network, error)
- func (s *Stack) GetTemplate(id string) (*resources.HostTemplate, error)
- func (s *Stack) GetVolume(id string) (*resources.Volume, error)
- func (s *Stack) GetVolumeAttachment(serverID, id string) (*resources.VolumeAttachment, error)
- func (s *Stack) InspectHost(interface{}) (*resources.Host, error)
- func (s *Stack) ListAvailabilityZones() (map[string]bool, error)
- func (s *Stack) ListHosts() ([]*resources.Host, error)
- func (s *Stack) ListImages(all bool) ([]resources.Image, error)
- func (s *Stack) ListKeyPairs() ([]resources.KeyPair, error)
- func (s *Stack) ListNetworks() ([]*resources.Network, error)
- func (s *Stack) ListRegions() ([]string, error)
- func (s *Stack) ListTemplates(all bool) ([]resources.HostTemplate, error)
- func (s *Stack) ListVolumeAttachments(serverID string) ([]resources.VolumeAttachment, error)
- func (s *Stack) ListVolumes() ([]resources.Volume, error)
- func (s *Stack) RebootHost(id string) error
- func (s *Stack) ResizeHost(id string, request resources.SizingRequirements) (*resources.Host, error)
- func (s *Stack) StartHost(id string) error
- func (s *Stack) StopHost(id string) error
- func (s *Stack) UnbindHostFromVIP(vip *resources.VIP, host *resources.Host) error
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 ¶
AddPublicIPToVIP stub
func (*Stack) BindHostToVIP ¶
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 ¶
CreateKeyPair stub
func (*Stack) CreateNetwork ¶
CreateNetwork stub
func (*Stack) CreateVolume ¶
CreateVolume stub
func (*Stack) CreateVolumeAttachment ¶
func (s *Stack) CreateVolumeAttachment(request resources.VolumeAttachmentRequest) (string, error)
CreateVolumeAttachment stub
func (*Stack) DeleteVolumeAttachment ¶
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 ¶
GetHostByName stub
func (*Stack) GetHostState ¶
GetHostState stub
func (*Stack) GetKeyPair ¶
GetKeyPair stub
func (*Stack) GetNetwork ¶
GetNetwork stub
func (*Stack) GetNetworkByName ¶
GetNetworkByName stub
func (*Stack) GetTemplate ¶
func (s *Stack) GetTemplate(id string) (*resources.HostTemplate, error)
GetTemplate stub
func (*Stack) GetVolumeAttachment ¶
func (s *Stack) GetVolumeAttachment(serverID, id string) (*resources.VolumeAttachment, error)
GetVolumeAttachment stub
func (*Stack) InspectHost ¶
InspectHost stub
func (*Stack) ListAvailabilityZones ¶
ListAvailabilityZones stub
func (*Stack) ListImages ¶
ListImages stub
func (*Stack) ListKeyPairs ¶
ListKeyPairs stub
func (*Stack) ListNetworks ¶
ListNetworks 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 ¶
ListVolumes stub
func (*Stack) ResizeHost ¶
func (s *Stack) ResizeHost(id string, request resources.SizingRequirements) (*resources.Host, error)
ResizeHost stub