Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2018 Changes in this version + type AuthOptions struct + AllowReauth bool + DomainName string + IdentityEndpoint string + Password string + ProjectID string + Region string + S3AccessKeyID string + S3AccessKeyPassword string + TokenID string + Username string + VPCCIDR string + VPCName string + type Client struct + Identity *gc.ServiceClient + Opts *AuthOptions + SecurityGroup *secgroups.SecGroup + func AuthenticatedClient(opts AuthOptions, cfg openstack.CfgOptions) (*Client, error) + func (client *Client) AssociateFloatingIP(host *model.Host, id string) error + func (client *Client) Build(params map[string]interface{}) (api.ClientAPI, error) + func (client *Client) CreateFloatingIP() (*FloatingIP, error) + func (client *Client) CreateGateway(req model.GatewayRequest) (*model.Host, error) + func (client *Client) CreateHost(request model.HostRequest) (*model.Host, error) + func (client *Client) CreateKeyPair(name string) (*model.KeyPair, error) + func (client *Client) CreateNetwork(req model.NetworkRequest) (*model.Network, error) + func (client *Client) CreateVPC(req VPCRequest) (*VPC, error) + func (client *Client) CreateVolume(request model.VolumeRequest) (*model.Volume, error) + func (client *Client) CreateVolumeAttachment(request model.VolumeAttachmentRequest) (string, error) + func (client *Client) DeleteFloatingIP(id string) error + func (client *Client) DeleteGateway(id string) error + func (client *Client) DeleteHost(id string) error + func (client *Client) DeleteKeyPair(id string) error + func (client *Client) DeleteNetwork(id string) error + func (client *Client) DeleteVPC(id string) error + func (client *Client) DeleteVolume(id string) error + func (client *Client) DeleteVolumeAttachment(serverID, vaID string) error + func (client *Client) DissociateFloatingIP(host *model.Host, id string) error + func (client *Client) FindFloatingIPByIP(ipAddress string) (*FloatingIP, error) + func (client *Client) GetAuthOpts() (model.Config, error) + func (client *Client) GetCfgOpts() (model.Config, error) + func (client *Client) GetFloatingIP(id string) (*FloatingIP, error) + func (client *Client) GetHost(hostParam interface{}) (*model.Host, error) + func (client *Client) GetHostByName(name string) (*model.Host, error) + func (client *Client) GetHostState(hostParam interface{}) (HostState.Enum, error) + func (client *Client) GetImage(id string) (*model.Image, error) + func (client *Client) GetKeyPair(id string) (*model.KeyPair, error) + func (client *Client) GetNetwork(id string) (*model.Network, error) + func (client *Client) GetNetworkByName(name string) (*model.Network, error) + func (client *Client) GetTemplate(id string) (*model.HostTemplate, error) + func (client *Client) GetVPC(id string) (*VPC, error) + func (client *Client) GetVolume(id string) (*model.Volume, error) + func (client *Client) GetVolumeAttachment(serverID, id string) (*model.VolumeAttachment, error) + func (client *Client) ListAvailabilityZones(all bool) (map[string]bool, error) + func (client *Client) ListFloatingIPs() pagination.Pager + func (client *Client) ListHosts() ([]*model.Host, error) + func (client *Client) ListImages(all bool) ([]model.Image, error) + func (client *Client) ListKeyPairs() ([]model.KeyPair, error) + func (client *Client) ListNetworks() ([]*model.Network, error) + func (client *Client) ListTemplates(all bool) ([]model.HostTemplate, error) + func (client *Client) ListVPCs() ([]VPC, error) + func (client *Client) ListVolumeAttachments(serverID string) ([]model.VolumeAttachment, error) + func (client *Client) ListVolumes() ([]model.Volume, error) + func (client *Client) RebootHost(id string) error + func (client *Client) StartHost(id string) error + func (client *Client) StopHost(id string) error + func (client *Client) WaitHostReady(hostParam interface{}, timeout time.Duration) (*model.Host, error) + type FloatingIP struct + BandwidthSize int + CreateTime string + ID string + PublicIPAddress string + Status string + TenantID string + Type string + type ListOpts struct + Limit int + Marker string + type VPC struct + CIDR string + ID string + Name string + Network *networks.Network + Router *routers.Router + Status string + type VPCRequest struct + CIDR string + Name string