Versions in this module Expand all Collapse all v1 v1.10.0 Aug 16, 2018 Changes in this version + const TagClusterName + const TagNameEtcdClusterPrefix + const TagNameRolePrefix + var ErrNotFound = "Resource not found" + 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 + CreateKeypair func(opt keypairs.CreateOptsBuilder) (*keypairs.KeyPair, error) + CreateNetwork func(opt networks.CreateOptsBuilder) (*networks.Network, error) + CreateRouter func(opt routers.CreateOptsBuilder) (*routers.Router, error) + CreateRouterInterface func(routerID string, opt routers.AddInterfaceOptsBuilder) (*routers.InterfaceInfo, error) + CreateSecurityGroup func(opt sg.CreateOpts) (*sg.SecGroup, error) + CreateSecurityGroupRule func(opt sgr.CreateOpts) (*sgr.SecGroupRule, error) + CreateSubnet func(opt subnets.CreateOptsBuilder) (*subnets.Subnet, error) + CreateVolume func(opt cinder.CreateOpts) (*cinder.Volume, error) + GetCloudTags func() map[string]string + ListKeypair func(name string) (*keypairs.KeyPair, error) + ListNetworks func(opt networks.ListOptsBuilder) ([]networks.Network, 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) + ListSubnets func(opt subnets.ListOptsBuilder) ([]subnets.Subnet, error) + ListVolumes func(opt cinder.ListOpts) ([]cinder.Volume, error) + Region func() string + SetVolumeTags func(id string, tags map[string]string) error + func NewOpenstackCloud(tags map[string]string) (OpenstackCloud, error)