Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + const CLUSTER_GENERATION + const INSTANCE_GROUP_GENERATION + const TagClusterName + const TagNameEtcdClusterPrefix + const TagNameRolePrefix + const TagRoleMaster + var ErrNotFound = "Resource not found" + func GetServerFixedIP(server *servers.Server, interfaceName string) (poolAddress string, err error) + type Address struct + Addr string + IPType string + type OpenstackAPITarget struct + Cloud OpenstackCloud + func NewOpenstackAPITarget(cloud OpenstackCloud) *OpenstackAPITarget + func (t *OpenstackAPITarget) Finish(taskMap map[string]fi.Task) error + func (t *OpenstackAPITarget) ProcessDeletions() bool + type OpenstackCloud interface + AssociateFloatingIPToInstance func(serverID string, opts floatingips.AssociateOpts) (err error) + AssociateToPool func(server *servers.Server, poolID string, opts v2pools.CreateMemberOpts) (*v2pools.Member, error) + AttachVolume func(serverID string, opt volumeattach.CreateOpts) (*volumeattach.VolumeAttachment, error) + BlockStorageClient func() *gophercloud.ServiceClient + ComputeClient func() *gophercloud.ServiceClient + CreateFloatingIP func(opts floatingips.CreateOpts) (*floatingips.FloatingIP, error) + CreateInstance func(servers.CreateOptsBuilder) (*servers.Server, error) + CreateKeypair func(opt keypairs.CreateOptsBuilder) (*keypairs.KeyPair, error) + CreateL3FloatingIP func(opts l3floatingip.CreateOpts) (fip *l3floatingip.FloatingIP, err error) + CreateLB func(opt loadbalancers.CreateOptsBuilder) (*loadbalancers.LoadBalancer, error) + CreateListener func(opts listeners.CreateOpts) (*listeners.Listener, error) + CreateNetwork func(opt networks.CreateOptsBuilder) (*networks.Network, error) + CreatePool func(opts v2pools.CreateOpts) (*v2pools.Pool, error) + CreatePort func(opt ports.CreateOptsBuilder) (*ports.Port, error) + CreateRouter func(opt routers.CreateOptsBuilder) (*routers.Router, error) + CreateRouterInterface func(routerID string, opt routers.AddInterfaceOptsBuilder) (*routers.InterfaceInfo, error) + CreateSecurityGroup func(opt sg.CreateOptsBuilder) (*sg.SecGroup, error) + CreateSecurityGroupRule func(opt sgr.CreateOptsBuilder) (*sgr.SecGroupRule, error) + CreateServerGroup func(opt servergroups.CreateOptsBuilder) (*servergroups.ServerGroup, error) + CreateSubnet func(opt subnets.CreateOptsBuilder) (*subnets.Subnet, error) + CreateVolume func(opt cinder.CreateOptsBuilder) (*cinder.Volume, error) + DNSClient func() *gophercloud.ServiceClient + DefaultInstanceType func(cluster *kops.Cluster, ig *kops.InstanceGroup) (string, error) + DeleteFloatingIP func(id string) error + DeleteInstanceWithID func(instanceID string) error + DeleteKeyPair func(name string) error + DeleteL3FloatingIP func(id string) error + DeleteLB func(lbID string, opt loadbalancers.DeleteOpts) error + DeleteListener func(listenerID string) error + DeleteMonitor func(monitorID string) error + DeleteNetwork func(networkID string) error + DeletePool func(poolID string) error + DeletePort func(portID string) error + DeleteRouter func(routerID string) error + DeleteRouterInterface func(routerID string, opt routers.RemoveInterfaceOptsBuilder) error + DeleteSecurityGroup func(sgID string) error + DeleteSecurityGroupRule func(ruleID string) error + DeleteServerGroup func(groupID string) error + DeleteSubnet func(subnetID string) error + DeleteVolume func(volumeID string) error + FindClusterStatus func(cluster *kops.Cluster) (*kops.ClusterStatus, error) + GetApiIngressStatus func(cluster *kops.Cluster) ([]kops.ApiIngressStatus, error) + GetCloudTags func() map[string]string + GetExternalNetwork func() (*networks.Network, error) + GetExternalSubnet func() (*subnets.Subnet, error) + GetFloatingIP func(id string) (fip *floatingips.FloatingIP, err error) + GetInstance func(id string) (*servers.Server, error) + GetKeypair func(name string) (*keypairs.KeyPair, error) + GetLB func(loadbalancerID string) (*loadbalancers.LoadBalancer, error) + GetLBFloatingSubnet func() (*subnets.Subnet, error) + GetNetwork func(networkID string) (*networks.Network, error) + GetPool func(poolID string, memberID string) (*v2pools.Member, error) + GetPort func(id string) (*ports.Port, error) + GetStorageAZFromCompute func(azName string) (*az.AvailabilityZone, error) + ListAvailabilityZones func(serviceClient *gophercloud.ServiceClient) ([]az.AvailabilityZone, error) + ListDNSRecordsets func(zoneID string, opt recordsets.ListOptsBuilder) ([]recordsets.RecordSet, error) + ListDNSZones func(opt zones.ListOptsBuilder) ([]zones.Zone, error) + ListFloatingIPs func() (fips []floatingips.FloatingIP, err error) + ListInstances func(servers.ListOptsBuilder) ([]servers.Server, error) + ListKeypairs func() ([]keypairs.KeyPair, error) + ListL3FloatingIPs func(opts l3floatingip.ListOpts) (fips []l3floatingip.FloatingIP, err error) + ListLBs func(opt loadbalancers.ListOptsBuilder) ([]loadbalancers.LoadBalancer, error) + ListListeners func(opts listeners.ListOpts) ([]listeners.Listener, error) + ListMonitors func(monitors.ListOpts) ([]monitors.Monitor, error) + ListNetworks func(opt networks.ListOptsBuilder) ([]networks.Network, error) + ListPools func(v2pools.ListOpts) ([]v2pools.Pool, error) + ListPorts func(opt ports.ListOptsBuilder) ([]ports.Port, error) + ListRouters func(opt routers.ListOpts) ([]routers.Router, error) + ListSecurityGroupRules func(opt sgr.ListOpts) ([]sgr.SecGroupRule, error) + ListSecurityGroups func(opt sg.ListOpts) ([]sg.SecGroup, error) + ListServerFloatingIPs func(id string) ([]*string, error) + ListServerGroups func() ([]servergroups.ServerGroup, error) + ListSubnets func(opt subnets.ListOptsBuilder) ([]subnets.Subnet, error) + ListVolumes func(opt cinder.ListOptsBuilder) ([]cinder.Volume, error) + LoadBalancerClient func() *gophercloud.ServiceClient + NetworkingClient func() *gophercloud.ServiceClient + Region func() string + SetVolumeTags func(id string, tags map[string]string) error + UseOctavia func() bool + func NewOpenstackCloud(tags map[string]string, spec *kops.ClusterSpec) (OpenstackCloud, error)