Versions in this module Expand all Collapse all v21 v21.11.1 Apr 26, 2022 Changes in this version type ProviderProxy + Name string v21.11.0 Feb 17, 2022 Changes in this version + type Capabilities struct + CanDisableSecurityGroup bool + Layer3Networking bool + PrivateVirtualIP bool + PublicVirtualIP bool + type Config interface + Config func(name string) (interface{}, bool) + Get func(name string) (interface{}, bool) + GetInteger func(name string) int + GetMapOfStrings func(name string) map[string]string + GetSliceOfStrings func(name string) []string + GetString func(name string) string + Set func(name string, value interface{}) + type ConfigMap map[string]interface + func (c ConfigMap) Config(name string) (interface{}, bool) + func (c ConfigMap) Get(name string) (interface{}, bool) + func (c ConfigMap) GetInteger(name string) int + func (c ConfigMap) GetMapOfStrings(name string) map[string]string + func (c ConfigMap) GetSliceOfStrings(name string) []string + func (c ConfigMap) GetString(name string) string + func (c ConfigMap) Set(name string, value interface{}) + type Provider interface + Build func(map[string]interface{}) (Provider, fail.Error) + GetAuthenticationOptions func() (Config, fail.Error) + GetCapabilities func() (Capabilities, fail.Error) + GetConfigurationOptions func() (Config, fail.Error) + GetName func() (string, fail.Error) + GetRegexpsOfTemplatesWithGPU func() ([]*regexp.Regexp, fail.Error) + GetStack func() (api.Stack, fail.Error) + GetTenantParameters func() (map[string]interface{}, fail.Error) + ListImages func(all bool) ([]abstract.Image, fail.Error) + ListTemplates func(all bool) ([]abstract.HostTemplate, fail.Error) + type ProviderProxy WrappedProvider + func (s ProviderProxy) AddPublicIPToVIP(ip *abstract.VirtualIP) (ferr fail.Error) + func (s ProviderProxy) AddRuleToSecurityGroup(sgParam stacks.SecurityGroupParameter, rule *abstract.SecurityGroupRule) (_ *abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) BindHostToVIP(ip *abstract.VirtualIP, s2 string) (ferr fail.Error) + func (s ProviderProxy) BindSecurityGroupToHost(sgParam stacks.SecurityGroupParameter, hostParam stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) BindSecurityGroupToSubnet(sgParam stacks.SecurityGroupParameter, subnetID string) (ferr fail.Error) + func (s ProviderProxy) Build(m map[string]interface{}) (_ Provider, ferr fail.Error) + func (s ProviderProxy) ClearHostStartupScript(parameter stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) ClearSecurityGroup(sgParam stacks.SecurityGroupParameter) (_ *abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) CreateHost(request abstract.HostRequest) (_ *abstract.HostFull, _ *userdata.Content, ferr fail.Error) + func (s ProviderProxy) CreateKeyPair(name string) (_ *abstract.KeyPair, ferr fail.Error) + func (s ProviderProxy) CreateNetwork(req abstract.NetworkRequest) (_ *abstract.Network, ferr fail.Error) + func (s ProviderProxy) CreateSecurityGroup(networkRef, name, description string, rules abstract.SecurityGroupRules) (_ *abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) CreateSubnet(req abstract.SubnetRequest) (_ *abstract.Subnet, ferr fail.Error) + func (s ProviderProxy) CreateVIP(networkID, subnetID, name string, securityGroups []string) (_ *abstract.VirtualIP, ferr fail.Error) + func (s ProviderProxy) CreateVolume(request abstract.VolumeRequest) (_ *abstract.Volume, ferr fail.Error) + func (s ProviderProxy) CreateVolumeAttachment(request abstract.VolumeAttachmentRequest) (_ string, ferr fail.Error) + func (s ProviderProxy) DeleteHost(parameter stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) DeleteKeyPair(id string) (ferr fail.Error) + func (s ProviderProxy) DeleteNetwork(id string) (ferr fail.Error) + func (s ProviderProxy) DeleteRuleFromSecurityGroup(sgParam stacks.SecurityGroupParameter, rule *abstract.SecurityGroupRule) (_ *abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) DeleteSecurityGroup(group *abstract.SecurityGroup) (ferr fail.Error) + func (s ProviderProxy) DeleteSubnet(id string) (ferr fail.Error) + func (s ProviderProxy) DeleteVIP(ip *abstract.VirtualIP) (ferr fail.Error) + func (s ProviderProxy) DeleteVolume(id string) (ferr fail.Error) + func (s ProviderProxy) DeleteVolumeAttachment(serverID, id string) (ferr fail.Error) + func (s ProviderProxy) DisableSecurityGroup(group *abstract.SecurityGroup) (ferr fail.Error) + func (s ProviderProxy) EnableSecurityGroup(group *abstract.SecurityGroup) (ferr fail.Error) + func (s ProviderProxy) GetAuthenticationOptions() (_ Config, ferr fail.Error) + func (s ProviderProxy) GetCapabilities() (_ Capabilities, ferr fail.Error) + func (s ProviderProxy) GetConfigurationOptions() (_ Config, ferr fail.Error) + func (s ProviderProxy) GetDefaultNetwork() (_ *abstract.Network, ferr fail.Error) + func (s ProviderProxy) GetDefaultSecurityGroupName() (_ string, ferr fail.Error) + func (s ProviderProxy) GetHostState(parameter stacks.HostParameter) (_ hoststate.Enum, ferr fail.Error) + func (s ProviderProxy) GetName() (_ string, ferr fail.Error) + func (s ProviderProxy) GetRawAuthenticationOptions() (_ stacks.AuthenticationOptions, ferr fail.Error) + func (s ProviderProxy) GetRawConfigurationOptions() (_ stacks.ConfigurationOptions, ferr fail.Error) + func (s ProviderProxy) GetRegexpsOfTemplatesWithGPU() (_ []*regexp.Regexp, ferr fail.Error) + func (s ProviderProxy) GetStack() (_ api.Stack, ferr fail.Error) + func (s ProviderProxy) GetStackName() (_ string, ferr fail.Error) + func (s ProviderProxy) GetTenantParameters() (_ map[string]interface{}, ferr fail.Error) + func (s ProviderProxy) HasDefaultNetwork() (_ bool, ferr fail.Error) + func (s ProviderProxy) InspectHost(parameter stacks.HostParameter) (_ *abstract.HostFull, ferr fail.Error) + func (s ProviderProxy) InspectImage(id string) (_ abstract.Image, ferr fail.Error) + func (s ProviderProxy) InspectKeyPair(id string) (_ *abstract.KeyPair, ferr fail.Error) + func (s ProviderProxy) InspectNetwork(id string) (_ *abstract.Network, ferr fail.Error) + func (s ProviderProxy) InspectNetworkByName(name string) (_ *abstract.Network, ferr fail.Error) + func (s ProviderProxy) InspectSecurityGroup(sgParam stacks.SecurityGroupParameter) (_ *abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) InspectSubnet(id string) (_ *abstract.Subnet, ferr fail.Error) + func (s ProviderProxy) InspectSubnetByName(networkID, name string) (_ *abstract.Subnet, ferr fail.Error) + func (s ProviderProxy) InspectTemplate(id string) (_ abstract.HostTemplate, ferr fail.Error) + func (s ProviderProxy) InspectVolume(id string) (_ *abstract.Volume, ferr fail.Error) + func (s ProviderProxy) InspectVolumeAttachment(serverID, id string) (_ *abstract.VolumeAttachment, ferr fail.Error) + func (s ProviderProxy) ListAvailabilityZones() (_ map[string]bool, ferr fail.Error) + func (s ProviderProxy) ListHosts(b bool) (_ abstract.HostList, ferr fail.Error) + func (s ProviderProxy) ListImages(p bool) (_ []abstract.Image, ferr fail.Error) + func (s ProviderProxy) ListKeyPairs() (_ []abstract.KeyPair, ferr fail.Error) + func (s ProviderProxy) ListNetworks() (_ []*abstract.Network, ferr fail.Error) + func (s ProviderProxy) ListRegions() (_ []string, ferr fail.Error) + func (s ProviderProxy) ListSecurityGroups(networkRef string) (_ []*abstract.SecurityGroup, ferr fail.Error) + func (s ProviderProxy) ListSubnets(networkID string) (_ []*abstract.Subnet, ferr fail.Error) + func (s ProviderProxy) ListTemplates(p bool) (_ []abstract.HostTemplate, ferr fail.Error) + func (s ProviderProxy) ListVolumeAttachments(serverID string) (_ []abstract.VolumeAttachment, ferr fail.Error) + func (s ProviderProxy) ListVolumes() (_ []abstract.Volume, ferr fail.Error) + func (s ProviderProxy) Migrate(operation string, params map[string]interface{}) (ferr fail.Error) + func (s ProviderProxy) RebootHost(parameter stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) ResizeHost(parameter stacks.HostParameter, requirements abstract.HostSizingRequirements) (_ *abstract.HostFull, ferr fail.Error) + func (s ProviderProxy) StartHost(parameter stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) StopHost(host stacks.HostParameter, gracefully bool) (ferr fail.Error) + func (s ProviderProxy) UnbindHostFromVIP(ip *abstract.VirtualIP, s2 string) (ferr fail.Error) + func (s ProviderProxy) UnbindSecurityGroupFromHost(sgParam stacks.SecurityGroupParameter, hostParam stacks.HostParameter) (ferr fail.Error) + func (s ProviderProxy) UnbindSecurityGroupFromSubnet(sgParam stacks.SecurityGroupParameter, subnetID string) (ferr fail.Error) + func (s ProviderProxy) WaitHostReady(hostParam stacks.HostParameter, timeout time.Duration) (_ *abstract.HostCore, ferr fail.Error) + type WrappedProvider struct + InnerProvider Provider + Name string Other modules containing this package github.com/CS-SI/SafeScale