{"modulePath":"github.com/Docker/machine","version":"v0.16.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package openstack\n\n## Constants\n\n```go\nconst (\n\tFloating string = \"floating\"\n\tFixed    string = \"fixed\"\n)\n```\n\n## Functions\n\n```go\nfunc NewDriver(hostName, storePath string) drivers.Driver\n```\n\n## Types\n\n```go\ntype Client interface {\n\tAuthenticate(d *Driver) error\n\tInitComputeClient(d *Driver) error\n\tInitIdentityClient(d *Driver) error\n\tInitNetworkClient(d *Driver) error\n\n\tCreateInstance(d *Driver) (string, error)\n\tGetInstanceState(d *Driver) (string, error)\n\tStartInstance(d *Driver) error\n\tStopInstance(d *Driver) error\n\tRestartInstance(d *Driver) error\n\tDeleteInstance(d *Driver) error\n\tWaitForInstanceStatus(d *Driver, status string) error\n\tGetInstanceIPAddresses(d *Driver) ([]IPAddress, error)\n\tGetPublicKey(keyPairName string) ([]byte, error)\n\tCreateKeyPair(d *Driver, name string, publicKey string) error\n\tDeleteKeyPair(d *Driver, name string) error\n\tGetNetworkID(d *Driver) (string, error)\n\tGetFlavorID(d *Driver) (string, error)\n\tGetImageID(d *Driver) (string, error)\n\tAssignFloatingIP(d *Driver, floatingIP *FloatingIP) error\n\tGetFloatingIPs(d *Driver) ([]FloatingIP, error)\n\tGetFloatingIPPoolID(d *Driver) (string, error)\n\tGetInstancePortID(d *Driver) (string, error)\n\tGetTenantID(d *Driver) (string, error)\n}\n```\n\n```go\ntype Driver struct {\n\t*drivers.BaseDriver\n\tAuthUrl          string\n\tActiveTimeout    int\n\tInsecure         bool\n\tCaCert           string\n\tDomainID         string\n\tDomainName       string\n\tUsername         string\n\tPassword         string\n\tTenantName       string\n\tTenantId         string\n\tRegion           string\n\tAvailabilityZone string\n\tEndpointType     string\n\tMachineId        string\n\tFlavorName       string\n\tFlavorId         string\n\tImageName        string\n\tImageId          string\n\tKeyPairName      string\n\tNetworkName      string\n\tNetworkId        string\n\tUserData         []byte\n\tPrivateKeyFile   string\n\tSecurityGroups   []string\n\tFloatingIpPool   string\n\tComputeNetwork   bool\n\tFloatingIpPoolId string\n\tIpVersion        int\n\tConfigDrive      bool\n\n\t// ExistingKey keeps track of whether the key was created by us or we used an existing one. If an existing one was used, we shouldn't delete it when the machine is deleted.\n\tExistingKey bool\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewDerivedDriver(hostName, storePath string) *Driver\n```\n\n```go\nfunc (d *Driver) Create() error\n```\n\n```go\nfunc (d *Driver) DriverName() string\n```\nDriverName returns the name of the driver\n\n```go\nfunc (d *Driver) GetCreateFlags() []mcnflag.Flag\n```\n\n```go\nfunc (d *Driver) GetIP() (string, error)\n```\n\n```go\nfunc (d *Driver) GetMetadata() map[string]string\n```\n\n```go\nfunc (d *Driver) GetSSHHostname() (string, error)\n```\n\n```go\nfunc (d *Driver) GetState() (state.State, error)\n```\n\n```go\nfunc (d *Driver) GetURL() (string, error)\n```\n\n```go\nfunc (d *Driver) Kill() error\n```\n\n```go\nfunc (d *Driver) Remove() error\n```\n\n```go\nfunc (d *Driver) Restart() error\n```\n\n```go\nfunc (d *Driver) SetClient(client Client)\n```\n\n```go\nfunc (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error\n```\n\n```go\nfunc (d *Driver) Start() error\n```\n\n```go\nfunc (d *Driver) Stop() error\n```\n\n```go\ntype FloatingIP struct {\n\tId        string\n\tIp        string\n\tNetworkId string\n\tPortId    string\n\tPool      string\n\tMachineId string\n}\n```\n\n```go\ntype GenericClient struct {\n\tProvider *gophercloud.ProviderClient\n\tCompute  *gophercloud.ServiceClient\n\tIdentity *gophercloud.ServiceClient\n\tNetwork  *gophercloud.ServiceClient\n}\n```\n\n```go\nfunc (c *GenericClient) AssignFloatingIP(d *Driver, floatingIP *FloatingIP) error\n```\n\n```go\nfunc (c *GenericClient) Authenticate(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) CreateInstance(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) CreateKeyPair(d *Driver, name string, publicKey string) error\n```\n\n```go\nfunc (c *GenericClient) DeleteInstance(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) DeleteKeyPair(d *Driver, name string) error\n```\n\n```go\nfunc (c *GenericClient) GetFlavorID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetFloatingIPPoolID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetFloatingIPs(d *Driver) ([]FloatingIP, error)\n```\n\n```go\nfunc (c *GenericClient) GetImageID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetInstanceIPAddresses(d *Driver) ([]IPAddress, error)\n```\n\n```go\nfunc (c *GenericClient) GetInstancePortID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetInstanceState(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetNetworkID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) GetPublicKey(keyPairName string) ([]byte, error)\n```\n\n```go\nfunc (c *GenericClient) GetServerDetail(d *Driver) (*servers.Server, error)\n```\n\n```go\nfunc (c *GenericClient) GetTenantID(d *Driver) (string, error)\n```\n\n```go\nfunc (c *GenericClient) InitComputeClient(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) InitIdentityClient(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) InitNetworkClient(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) RestartInstance(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) SetTLSConfig(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) StartInstance(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) StopInstance(d *Driver) error\n```\n\n```go\nfunc (c *GenericClient) WaitForInstanceStatus(d *Driver, status string) error\n```\n\n```go\ntype IPAddress struct {\n\tNetwork     string\n\tAddressType string\n\tAddress     string\n\tVersion     int\n\tMac         string\n}\n```\n\n","path":"github.com/Docker/machine/drivers/openstack","name":"openstack","synopsis":"","isRedistributable":true}
