Documentation ¶
Overview ¶
Package openstack contains resources for the individual OpenStack projects supported in Gophercloud. It also includes functions to authenticate to an OpenStack cloud and for provisioning various service-level clients.
Example of Creating a Service Client
ao, err := openstack.AuthOptionsFromEnv() provider, err := openstack.AuthenticatedClient(ao) client, err := openstack.NewNetworkV2(client, gophercloud.EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
Example of Creating a Service Client with options
conf := gophercloud.NewConfig() ao, err := openstack.AuthOptionsFromEnv() provider, err := openstack.AuthenticatedClientWithOptions(ao,conf) client, err := openstack.NewNetworkV2(client, gophercloud.EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
Index ¶
- func Authenticate(client *gophercloud.ProviderClient, options auth.AuthOptionsProvider) error
- func AuthenticateV2(client *gophercloud.ProviderClient, options tokenAuth.TokenOptions, ...) error
- func AuthenticateV3(client *gophercloud.ProviderClient, options tokens3.AuthOptionsBuilder, ...) error
- func AuthenticatedClient(options auth.AuthOptionsProvider) (*gophercloud.ProviderClient, error)
- func AuthenticatedClientWithOptions(options auth.AuthOptionsProvider, conf *gophercloud.Config) (*gophercloud.ProviderClient, error)
- func GetEndpointURLForAKSKAuth(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts, ...) (string, error)
- func NewASV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewASV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewBSSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewBlockStorageV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewBlockStorageV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewBlockStorageV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewCDNV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewCESV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewClient(endpoint, domainID, projectID string, conf *gophercloud.Config) (*gophercloud.ProviderClient, error)
- func NewComputeV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewDBV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewDNSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewECSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewECSV1_1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewECSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewFGSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewIMSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewIMSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewIdentityV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewIdentityV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewImageServiceV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewLoadBalancerV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewNetworkV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewObjectStorageV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewOrchestrationV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewRDSV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewSharedFileSystemV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewVPCV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func NewVPCV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
- func V2EndpointURL(catalog *tokens2.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)
- func V3EndpointURL(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)
- func V3ExtractEndpointURL(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts, ...) (string, error)
- type MyRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(client *gophercloud.ProviderClient, options auth.AuthOptionsProvider) error
Authenticate or re-authenticate against the most recent identity service supported at the provided endpoint.
func AuthenticateV2 ¶
func AuthenticateV2(client *gophercloud.ProviderClient, options tokenAuth.TokenOptions, eo gophercloud.EndpointOpts) error
AuthenticateV2 explicitly authenticates against the identity v2 endpoint.
func AuthenticateV3 ¶
func AuthenticateV3(client *gophercloud.ProviderClient, options tokens3.AuthOptionsBuilder, eo gophercloud.EndpointOpts) error
AuthenticateV3 explicitly authenticates against the identity v3 service.
func AuthenticatedClient ¶
func AuthenticatedClient(options auth.AuthOptionsProvider) (*gophercloud.ProviderClient, error)
AuthenticatedClient logs in to an OpenStack cloud found at the identity endpoint specified by the options, acquires a token, and returns a Provider Client instance that's ready to operate.
If the full path to a versioned identity endpoint was specified (example: http://example.com:5000/v3), that path will be used as the endpoint to query.
If a versionless endpoint was specified (example: http://example.com:5000/), the endpoint will be queried to determine which versions of the identity service are available, then chooses the most recent or most supported version.
Example:
ao, err := openstack.AuthOptionsFromEnv() provider, err := openstack.AuthenticatedClient(ao) client, err := openstack.NewNetworkV2(client, EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
func AuthenticatedClientWithOptions ¶
func AuthenticatedClientWithOptions(options auth.AuthOptionsProvider, conf *gophercloud.Config) (*gophercloud.ProviderClient, error)
Initialize the provider client based on the incoming config configuration,and returns a Provider Client instance that's ready to request SDK service API.
Example of Creating a Service Client with options
conf := gophercloud.NewConfig() ao, err := openstack.AuthOptionsFromEnv() provider, err := openstack.AuthenticatedClientWithOptions(ao,conf) client, err := openstack.NewNetworkV2(client, gophercloud.EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
func GetEndpointURLForAKSKAuth ¶
func GetEndpointURLForAKSKAuth(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts, akskOptions aksk.AKSKOptions) (string, error)
GetEndpointURLForAKSKAuth discovers the endpoint from V3EndpointURL function firstly, if the endpoint is null then concat the service type and domain as the endpoint
func NewASV1 ¶
func NewASV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewASV1 creates a ServiceClient that may be used with the v1 as package.
func NewASV2 ¶
func NewASV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewASV2 creates a ServiceClient that may be used with the v2 as package.
func NewBSSV1 ¶
func NewBSSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewBSSV1 creates a ServiceClient that may be used to access the v1.0 BSS service.
func NewBlockStorageV1 ¶
func NewBlockStorageV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewBlockStorageV1 creates a ServiceClient that may be used to access the v1 block storage service.
func NewBlockStorageV2 ¶
func NewBlockStorageV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewBlockStorageV2 creates a ServiceClient that may be used to access the v2 block storage service.
func NewBlockStorageV3 ¶
func NewBlockStorageV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewBlockStorageV3 creates a ServiceClient that may be used to access the v3 block storage service.
func NewCDNV1 ¶
func NewCDNV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewCDNV1 creates a ServiceClient that may be used to access the OpenStack v1 CDN service.
func NewCESV1 ¶
func NewCESV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewCESV1 creates a ServiceClient that may be used with the v1 cloud eye service package.
func NewClient ¶
func NewClient(endpoint, domainID, projectID string, conf *gophercloud.Config) (*gophercloud.ProviderClient, error)
NewClient prepares an unauthenticated ProviderClient instance. Most users will probably prefer using the AuthenticatedClient function instead.
This is useful if you wish to explicitly control the version of the identity service that's used for authentication explicitly, for example.
A basic example of using this would be:
ao, err := openstack.AuthOptionsFromEnv() provider, err := openstack.NewClient(ao.IdentityEndpoint) client, err := openstack.NewIdentityV3(provider, gophercloud.EndpointOpts{})
func NewComputeV2 ¶
func NewComputeV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewComputeV2 creates a ServiceClient that may be used with the v2 compute package.
func NewDBV1 ¶
func NewDBV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewDBV1 creates a ServiceClient that may be used to access the v1 DB service.
func NewDNSV2 ¶
func NewDNSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewDNSV2 creates a ServiceClient that may be used to access the v2 DNS service.
func NewECSV1 ¶
func NewECSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewECSV1 creates a ServiceClient that may be used to access the v1 ecs service.
func NewECSV1_1 ¶
func NewECSV1_1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewECSV1_1 creates a ServiceClient that may be used to access the v1.1 ecs service.
func NewECSV2 ¶
func NewECSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewECSV2 creates a ServiceClient that may be used to access the v2 ecs service.
func NewFGSV2 ¶ added in v1.0.18
func NewFGSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewFGSV2 creates a ServiceClient that may be used with the v2 as package.
func NewIMSV1 ¶
func NewIMSV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
func NewIMSV2 ¶
func NewIMSV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewIMSV2 creates a ServiceClient that may be used to access the v2 image service.
func NewIdentityV2 ¶
func NewIdentityV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewIdentityV2 creates a ServiceClient that may be used to interact with the v2 identity service.
func NewIdentityV3 ¶
func NewIdentityV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewIdentityV3 creates a ServiceClient that may be used to access the v3 identity service.
func NewImageServiceV2 ¶
func NewImageServiceV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewImageServiceV2 creates a ServiceClient that may be used to access the v2 image service.
func NewLoadBalancerV2 ¶
func NewLoadBalancerV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewLoadBalancerV2 creates a ServiceClient that may be used to access the v2 load balancer service.
func NewNetworkV2 ¶
func NewNetworkV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewNetworkV2 creates a ServiceClient that may be used with the v2 network package.
func NewObjectStorageV1 ¶
func NewObjectStorageV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewObjectStorageV1 creates a ServiceClient that may be used with the v1 object storage package.
func NewOrchestrationV1 ¶
func NewOrchestrationV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewOrchestrationV1 creates a ServiceClient that may be used to access the v1 orchestration service.
func NewRDSV3 ¶ added in v1.0.18
func NewRDSV3(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewRDSV3 creates a ServiceClient that may be used with the v3 rds package.
func NewSharedFileSystemV2 ¶
func NewSharedFileSystemV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewSharedFileSystemV2 creates a ServiceClient that may be used to access the v2 shared file system service.
func NewVPCV1 ¶
func NewVPCV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewVPCV1 creates a ServiceClient that may be used with the v1 network package.
func NewVPCV2 ¶
func NewVPCV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewVPCV2 creates a ServiceClient that may be used with the v2.0 vpc package.
func V2EndpointURL ¶
func V2EndpointURL(catalog *tokens2.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)
V2EndpointURL discovers the endpoint URL for a specific service from a ServiceCatalog acquired during the v2 identity service.
The specified EndpointOpts are used to identify a unique, unambiguous endpoint to return. It's an error both when multiple endpoints match the provided criteria and when none do. The minimum that can be specified is a Type, but you will also often need to specify a Name and/or a Region depending on what's available on your OpenStack deployment.
func V3EndpointURL ¶
func V3EndpointURL(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)
V3EndpointURL discovers the endpoint URL for a specific service from a Catalog acquired during the v3 identity service.
The specified EndpointOpts are used to identify a unique, unambiguous endpoint to return. It's an error both when multiple endpoints match the provided criteria and when none do. The minimum that can be specified is a Type, but you will also often need to specify a Name and/or a Region depending on what's available on your OpenStack deployment.
func V3ExtractEndpointURL ¶
func V3ExtractEndpointURL(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts, tokenOptions tokens3.AuthOptionsBuilder) (string, error)
Extract Endpoints from the catalog entries that match the requested Type, Interface, Name if provided, and Region if provided.
Types ¶
type MyRoundTripper ¶
type MyRoundTripper struct {
// contains filtered or unexported fields
}
MyRoundTripper, Rewrite RoundTrip to achieve reauth limit 3 times
Directories ¶
Path | Synopsis |
---|---|
as
|
|
blockstorage
|
|
extensions/schedulerstats
Package schedulerstats returns information about block storage pool capacity and utilisation.
|
Package schedulerstats returns information about block storage pool capacity and utilisation. |
extensions/volumeactions
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service.
|
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service. |
extensions/volumeactions/testing
volumeactions unit tests
|
volumeactions unit tests |
extensions/volumetenants
Package volumetenants provides the ability to extend a volume result with tenant/project information.
|
Package volumetenants provides the ability to extend a volume result with tenant/project information. |
noauth
Package noauth creates a "noauth" *gophercloud.ServiceClient for use in Cinder environments configured with the noauth authentication middleware.
|
Package noauth creates a "noauth" *gophercloud.ServiceClient for use in Cinder environments configured with the noauth authentication middleware. |
noauth/testing
noauth unit tests
|
noauth unit tests |
v1/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
|
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder. |
v1/apiversions/testing
apiversions_v1
|
apiversions_v1 |
v1/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
|
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service. |
v1/snapshots/testing
snapshots_v1
|
snapshots_v1 |
v1/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
|
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service. |
v1/volumes/testing
volumes_v1
|
volumes_v1 |
v1/volumetypes
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service.
|
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service. |
v1/volumetypes/testing
volumetypes_v1
|
volumetypes_v1 |
v2/extensions/apiversions/testing
apiversions_v1
|
apiversions_v1 |
v2/extensions/availabilityzones/testing
availabilityzones unittests
|
availabilityzones unittests |
v2/extensions/extensions/testing
common extensions unit tests
|
common extensions unit tests |
v2/extensions/volumetypes/testing
volume_types
|
volume_types |
v2/snapshots/testing
snapshots_v2
|
snapshots_v2 |
v2/volumes/testing
volumes_v2
|
volumes_v2 |
v3/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
|
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service. |
v3/snapshots/testing
snapshots_v3
|
snapshots_v3 |
v3/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
|
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service. |
v3/volumes/testing
volumes_v3
|
volumes_v3 |
v3/volumetypes/testing
volume_types
|
volume_types |
bss
|
|
cdn
|
|
v1/base
Package base provides information and interaction with the base API resource in the OpenStack CDN service.
|
Package base provides information and interaction with the base API resource in the OpenStack CDN service. |
v1/base/testing
cdn_base_v1
|
cdn_base_v1 |
v1/flavors
Package flavors provides information and interaction with the flavors API resource in the OpenStack CDN service.
|
Package flavors provides information and interaction with the flavors API resource in the OpenStack CDN service. |
v1/flavors/testing
cdn_flavors_v1
|
cdn_flavors_v1 |
v1/serviceassets
Package serviceassets provides information and interaction with the serviceassets API resource in the OpenStack CDN service.
|
Package serviceassets provides information and interaction with the serviceassets API resource in the OpenStack CDN service. |
v1/serviceassets/testing
cdn_serviceassets_v1
|
cdn_serviceassets_v1 |
v1/services
Package services provides information and interaction with the services API resource in the OpenStack CDN service.
|
Package services provides information and interaction with the services API resource in the OpenStack CDN service. |
v1/services/testing
cdn_services_v1
|
cdn_services_v1 |
ces
|
|
v1/metricdata/testing
metricdata unit tests
|
metricdata unit tests |
v1/metrics/testing
metrics unit tests
|
metrics unit tests |
common
|
|
extensions
Package extensions provides information and interaction with the different extensions available for an OpenStack service.
|
Package extensions provides information and interaction with the different extensions available for an OpenStack service. |
extensions/testing
common extensions unit tests
|
common extensions unit tests |
compute
|
|
v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service.
|
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service. |
v2/extensions/aggregates
Package aggregates manages information about the host aggregates in the OpenStack cloud.
|
Package aggregates manages information about the host aggregates in the OpenStack cloud. |
v2/extensions/attachinterfaces
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova.
|
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova. |
v2/extensions/attachinterfaces/testing
attachinterfaces unit tests
|
attachinterfaces unit tests |
v2/extensions/availabilityzones
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information.
|
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information. |
v2/extensions/availabilityzones/testing
availabilityzones unittests
|
availabilityzones unittests |
v2/extensions/bootfromvolume
Package bootfromvolume extends a server create request with the ability to specify block device options.
|
Package bootfromvolume extends a server create request with the ability to specify block device options. |
v2/extensions/bootfromvolume/testing
bootfromvolume unit tests
|
bootfromvolume unit tests |
v2/extensions/defsecrules
Package defsecrules enables management of default security group rules.
|
Package defsecrules enables management of default security group rules. |
v2/extensions/defsecrules/testing
defsecrules unit tests
|
defsecrules unit tests |
v2/extensions/diskconfig
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service.
|
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service. |
v2/extensions/diskconfig/testing
diskconfig unit tests
|
diskconfig unit tests |
v2/extensions/evacuate
Package evacuate provides functionality to evacuates servers that have been provisioned by the OpenStack Compute service from a failed host to a new host.
|
Package evacuate provides functionality to evacuates servers that have been provisioned by the OpenStack Compute service from a failed host to a new host. |
v2/extensions/evacuate/testing
compute_extensions_evacuate_v2
|
compute_extensions_evacuate_v2 |
v2/extensions/extendedstatus
Package extendedstatus provides the ability to extend a server result with the extended status information.
|
Package extendedstatus provides the ability to extend a server result with the extended status information. |
v2/extensions/floatingips
Package floatingips provides the ability to manage floating ips through the Nova API.
|
Package floatingips provides the ability to manage floating ips through the Nova API. |
v2/extensions/floatingips/testing
floatingips unit tests
|
floatingips unit tests |
v2/extensions/hypervisors
Package hypervisors returns details about list of hypervisors, shows details for a hypervisor and shows summary statistics for all hypervisors over all compute nodes in the OpenStack cloud.
|
Package hypervisors returns details about list of hypervisors, shows details for a hypervisor and shows summary statistics for all hypervisors over all compute nodes in the OpenStack cloud. |
v2/extensions/keypairs
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair.
|
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair. |
v2/extensions/keypairs/testing
keypairs unit tests
|
keypairs unit tests |
v2/extensions/limits
Package limits shows rate and limit information for a tenant/project.
|
Package limits shows rate and limit information for a tenant/project. |
v2/extensions/lockunlock
Package lockunlock provides functionality to lock and unlock servers that have been provisioned by the OpenStack Compute service.
|
Package lockunlock provides functionality to lock and unlock servers that have been provisioned by the OpenStack Compute service. |
v2/extensions/lockunlock/testing
unlocklock unit tests
|
unlocklock unit tests |
v2/extensions/migrate
Package migrate provides functionality to migrate servers that have been provisioned by the OpenStack Compute service.
|
Package migrate provides functionality to migrate servers that have been provisioned by the OpenStack Compute service. |
v2/extensions/migrate/testing
compute_extensions_startstop_v2
|
compute_extensions_startstop_v2 |
v2/extensions/networks
Package networks provides the ability to create and manage networks in cloud environments using nova-network.
|
Package networks provides the ability to create and manage networks in cloud environments using nova-network. |
v2/extensions/networks/testing
networks unit tests
|
networks unit tests |
v2/extensions/pauseunpause
Package pauseunpause provides functionality to pause and unpause servers that have been provisioned by the OpenStack Compute service.
|
Package pauseunpause provides functionality to pause and unpause servers that have been provisioned by the OpenStack Compute service. |
v2/extensions/pauseunpause/testing
pauseunpause unit tests
|
pauseunpause unit tests |
v2/extensions/quotasets
Package quotasets enables retrieving and managing Compute quotas.
|
Package quotasets enables retrieving and managing Compute quotas. |
v2/extensions/quotasets/testing
quotasets unit tests
|
quotasets unit tests |
v2/extensions/resetstate
Package resetstate provides functionality to reset the state of a server that has been provisioned by the OpenStack Compute service.
|
Package resetstate provides functionality to reset the state of a server that has been provisioned by the OpenStack Compute service. |
v2/extensions/schedulerhints
Package schedulerhints extends the server create request with the ability to specify additional parameters which determine where the server will be created in the OpenStack cloud.
|
Package schedulerhints extends the server create request with the ability to specify additional parameters which determine where the server will be created in the OpenStack cloud. |
v2/extensions/schedulerhints/testing
schedulerhints unit tests
|
schedulerhints unit tests |
v2/extensions/secgroups
Package secgroups provides the ability to manage security groups through the Nova API.
|
Package secgroups provides the ability to manage security groups through the Nova API. |
v2/extensions/secgroups/testing
secgroups unit tests
|
secgroups unit tests |
v2/extensions/servergroups
Package servergroups provides the ability to manage server groups.
|
Package servergroups provides the ability to manage server groups. |
v2/extensions/servergroups/testing
servergroups unit tests
|
servergroups unit tests |
v2/extensions/startstop
Package startstop provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service.
|
Package startstop provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service. |
v2/extensions/startstop/testing
startstop unit tests
|
startstop unit tests |
v2/extensions/suspendresume
Package suspendresume provides functionality to suspend and resume servers that have been provisioned by the OpenStack Compute service.
|
Package suspendresume provides functionality to suspend and resume servers that have been provisioned by the OpenStack Compute service. |
v2/extensions/suspendresume/testing
suspendresume unit tests
|
suspendresume unit tests |
v2/extensions/tenantnetworks
Package tenantnetworks provides the ability for tenants to see information about the networks they have access to.
|
Package tenantnetworks provides the ability for tenants to see information about the networks they have access to. |
v2/extensions/tenantnetworks/testing
tenantnetworks unit tests
|
tenantnetworks unit tests |
v2/extensions/testing
extensions unit tests
|
extensions unit tests |
v2/extensions/usage
Package usage provides information and interaction with the SimpleTenantUsage extension for the OpenStack Compute service.
|
Package usage provides information and interaction with the SimpleTenantUsage extension for the OpenStack Compute service. |
v2/extensions/usage/testing
simple tenant usage unit tests
|
simple tenant usage unit tests |
v2/extensions/volumeattach
Package volumeattach provides the ability to attach and detach volumes from servers.
|
Package volumeattach provides the ability to attach and detach volumes from servers. |
v2/extensions/volumeattach/testing
volumeattach unit tests
|
volumeattach unit tests |
v2/flavors
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service.
|
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service. |
v2/flavors/testing
flavors unit tests
|
flavors unit tests |
v2/images
Package images provides information and interaction with the images through the OpenStack Compute service.
|
Package images provides information and interaction with the images through the OpenStack Compute service. |
v2/images/testing
images unit tests
|
images unit tests |
v2/servers
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
|
Package servers provides information and interaction with the server API resource in the OpenStack Compute service. |
v2/servers/testing
servers unit tests
|
servers unit tests |
db
|
|
v1/configurations
Package configurations provides information and interaction with the configuration API resource in the Rackspace Database service.
|
Package configurations provides information and interaction with the configuration API resource in the Rackspace Database service. |
v1/configurations/testing
db_configurations_v1
|
db_configurations_v1 |
v1/databases
Package flavors provides information and interaction with the database API resource in the OpenStack Database service.
|
Package flavors provides information and interaction with the database API resource in the OpenStack Database service. |
v1/databases/testing
db_databases_v1
|
db_databases_v1 |
v1/datastores
Package datastores provides information and interaction with the datastore API resource in the Rackspace Database service.
|
Package datastores provides information and interaction with the datastore API resource in the Rackspace Database service. |
v1/datastores/testing
db_datastores_v1
|
db_datastores_v1 |
v1/flavors
Package flavors provides information and interaction with the flavor API resource in the OpenStack Database service.
|
Package flavors provides information and interaction with the flavor API resource in the OpenStack Database service. |
v1/flavors/testing
db_flavors_v1
|
db_flavors_v1 |
v1/instances
Package instances provides information and interaction with the instance API resource in the OpenStack Database service.
|
Package instances provides information and interaction with the instance API resource in the OpenStack Database service. |
v1/instances/testing
db_instances_v1
|
db_instances_v1 |
v1/users
Package users provides information and interaction with the user API resource in the OpenStack Database service.
|
Package users provides information and interaction with the user API resource in the OpenStack Database service. |
v1/users/testing
db_users_v1
|
db_users_v1 |
dns
|
|
v2/recordsets
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service.
|
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service. |
v2/recordsets/testing
recordsets unit tests
|
recordsets unit tests |
v2/zones/testing
zones unit tests package testing import ( "fmt" "net/http" "testing" "time" "github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud/openstack/dns/v2/zones" th "github.com/gophercloud/gophercloud/testhelper" "github.com/gophercloud/gophercloud/testhelper/client" ) // List Output is a sample response to a List call.
|
zones unit tests package testing import ( "fmt" "net/http" "testing" "time" "github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud/openstack/dns/v2/zones" th "github.com/gophercloud/gophercloud/testhelper" "github.com/gophercloud/gophercloud/testhelper/client" ) // List Output is a sample response to a List call. |
ecs
|
|
v1/flavor/testing
flavor unit tests
|
flavor unit tests |
v1/job/testing
job unit tests
|
job unit tests |
v1/nics/testing
nics unit tests
|
nics unit tests |
fgs
|
|
identity
|
|
v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
|
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service. |
v2/extensions/admin/roles
Package roles provides functionality to interact with and control roles on the API.
|
Package roles provides functionality to interact with and control roles on the API. |
v2/extensions/admin/roles/testing
roles unit tests
|
roles unit tests |
v2/extensions/testing
extensions unit tests
|
extensions unit tests |
v2/tenants
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service.
|
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service. |
v2/tenants/testing
tenants unit tests
|
tenants unit tests |
v2/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
|
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service. |
v2/tokens/testing
tokens unit tests
|
tokens unit tests |
v2/users
Package users provides information and interaction with the users API resource for the OpenStack Identity Service.
|
Package users provides information and interaction with the users API resource for the OpenStack Identity Service. |
v2/users/testing
users unit tests
|
users unit tests |
v3/domains
Package domains manages and retrieves Domains in the OpenStack Identity Service.
|
Package domains manages and retrieves Domains in the OpenStack Identity Service. |
v3/endpoints
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service.
|
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service. |
v3/endpoints/testing
endpoints unit tests
|
endpoints unit tests |
v3/extensions/trusts
Package trusts enables management of OpenStack Identity Trusts.
|
Package trusts enables management of OpenStack Identity Trusts. |
v3/extensions/trusts/testing
trusts unit tests
|
trusts unit tests |
v3/groups
Package groups manages and retrieves Groups in the OpenStack Identity Service.
|
Package groups manages and retrieves Groups in the OpenStack Identity Service. |
v3/projects
Package projects manages and retrieves Projects in the OpenStack Identity Service.
|
Package projects manages and retrieves Projects in the OpenStack Identity Service. |
v3/regions
Package regions manages and retrieves Regions in the OpenStack Identity Service.
|
Package regions manages and retrieves Regions in the OpenStack Identity Service. |
v3/roles
Package roles provides information and interaction with the roles API resource for the OpenStack Identity service.
|
Package roles provides information and interaction with the roles API resource for the OpenStack Identity service. |
v3/roles/testing
roles unit tests
|
roles unit tests |
v3/services
Package services provides information and interaction with the services API resource for the OpenStack Identity service.
|
Package services provides information and interaction with the services API resource for the OpenStack Identity service. |
v3/services/testing
services unit tests
|
services unit tests |
v3/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
|
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service. |
v3/tokens/testing
tokens unit tests
|
tokens unit tests |
v3/users
Package users manages and retrieves Users in the OpenStack Identity Service.
|
Package users manages and retrieves Users in the OpenStack Identity Service. |
imageservice
|
|
v2/imagedata
Package imagedata enables management of image data.
|
Package imagedata enables management of image data. |
v2/imagedata/testing
imagedata unit tests
|
imagedata unit tests |
v2/images
Package images enables management and retrieval of images from the OpenStack Image Service.
|
Package images enables management and retrieval of images from the OpenStack Image Service. |
v2/images/testing
images unit tests
|
images unit tests |
v2/members
Package members enables management and retrieval of image members.
|
Package members enables management and retrieval of image members. |
v2/members/testing
members unit tests
|
members unit tests |
ims
|
|
networking
|
|
v2/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service.
|
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service. |
v2/apiversions/testing
apiversions unit tests
|
apiversions unit tests |
v2/extensions/external
Package external provides information and interaction with the external extension for the OpenStack Networking service.
|
Package external provides information and interaction with the external extension for the OpenStack Networking service. |
v2/extensions/external/testing
external unit tests
|
external unit tests |
v2/extensions/fwaas
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service.
|
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service. |
v2/extensions/fwaas/firewalls
Package firewalls allows management and retrieval of firewalls from the OpenStack Networking Service.
|
Package firewalls allows management and retrieval of firewalls from the OpenStack Networking Service. |
v2/extensions/fwaas/firewalls/testing
firewalls unit tests
|
firewalls unit tests |
v2/extensions/fwaas/policies
Package policies allows management and retrieval of Firewall Policies in the OpenStack Networking Service.
|
Package policies allows management and retrieval of Firewall Policies in the OpenStack Networking Service. |
v2/extensions/fwaas/policies/testing
policies unit tests
|
policies unit tests |
v2/extensions/fwaas/routerinsertion
Package routerinsertion implements the fwaasrouterinsertion Firewall extension.
|
Package routerinsertion implements the fwaasrouterinsertion Firewall extension. |
v2/extensions/fwaas/routerinsertion/testing
routerinsertion unit tests
|
routerinsertion unit tests |
v2/extensions/fwaas/rules
Package rules enables management and retrieval of Firewall Rules in the OpenStack Networking Service.
|
Package rules enables management and retrieval of Firewall Rules in the OpenStack Networking Service. |
v2/extensions/fwaas/rules/testing
rules unit tests
|
rules unit tests |
v2/extensions/layer3
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service.
|
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service. |
v2/extensions/layer3/floatingips
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service.
|
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service. |
v2/extensions/layer3/floatingips/testing
floatingips unit tests
|
floatingips unit tests |
v2/extensions/layer3/routers
Package routers enables management and retrieval of Routers from the OpenStack Networking service.
|
Package routers enables management and retrieval of Routers from the OpenStack Networking service. |
v2/extensions/layer3/routers/testing
routers unit tests
|
routers unit tests |
v2/extensions/lbaas
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service.
|
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service. |
v2/extensions/lbaas/members
Package members provides information and interaction with Members of the Load Balancer as a Service extension for the OpenStack Networking service.
|
Package members provides information and interaction with Members of the Load Balancer as a Service extension for the OpenStack Networking service. |
v2/extensions/lbaas/members/testing
members unit tests
|
members unit tests |
v2/extensions/lbaas/monitors
Package monitors provides information and interaction with the Monitors of the Load Balancer as a Service extension for the OpenStack Networking Service.
|
Package monitors provides information and interaction with the Monitors of the Load Balancer as a Service extension for the OpenStack Networking Service. |
v2/extensions/lbaas/monitors/testing
monitors unit tests
|
monitors unit tests |
v2/extensions/lbaas/pools
Package pools provides information and interaction with the Pools of the Load Balancing as a Service extension for the OpenStack Networking service.
|
Package pools provides information and interaction with the Pools of the Load Balancing as a Service extension for the OpenStack Networking service. |
v2/extensions/lbaas/pools/testing
pools unit tests
|
pools unit tests |
v2/extensions/lbaas/vips
Package vips provides information and interaction with the Virtual IPs of the Load Balancing as a Service extension for the OpenStack Networking service.
|
Package vips provides information and interaction with the Virtual IPs of the Load Balancing as a Service extension for the OpenStack Networking service. |
v2/extensions/lbaas/vips/testing
vips unit tests
|
vips unit tests |
v2/extensions/lbaas_v2
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
|
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service. |
v2/extensions/lbaas_v2/listeners
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service.
|
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service. |
v2/extensions/lbaas_v2/listeners/testing
listeners unit tests
|
listeners unit tests |
v2/extensions/lbaas_v2/loadbalancers
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service.
|
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service. |
v2/extensions/lbaas_v2/loadbalancers/testing
loadbalancers unit tests
|
loadbalancers unit tests |
v2/extensions/lbaas_v2/monitors
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service.
|
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service. |
v2/extensions/lbaas_v2/monitors/testing
monitors unit tests
|
monitors unit tests |
v2/extensions/lbaas_v2/pools
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service.
|
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service. |
v2/extensions/lbaas_v2/pools/testing
pools unit tests
|
pools unit tests |
v2/extensions/portsbinding
Package portsbinding provides information and interaction with the port binding extension for the OpenStack Networking service.
|
Package portsbinding provides information and interaction with the port binding extension for the OpenStack Networking service. |
v2/extensions/portsbinding/testing
portsbindings unit tests
|
portsbindings unit tests |
v2/extensions/portsecurity
Package portsecurity provides information and interaction with the port security extension for the OpenStack Networking service.
|
Package portsecurity provides information and interaction with the port security extension for the OpenStack Networking service. |
v2/extensions/provider
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
|
Package provider gives access to the provider Neutron plugin, allowing network extended attributes. |
v2/extensions/provider/testing
provider unit tests
|
provider unit tests |
v2/extensions/security
Package security contains functionality to work with security group and security group rules Neutron resources.
|
Package security contains functionality to work with security group and security group rules Neutron resources. |
v2/extensions/security/groups
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
|
Package groups provides information and interaction with Security Groups for the OpenStack Networking service. |
v2/extensions/security/groups/testing
groups unit tests
|
groups unit tests |
v2/extensions/security/rules
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
|
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service. |
v2/extensions/security/rules/testing
rules unit tests
|
rules unit tests |
v2/extensions/subnetpools
Package subnetpools provides the ability to retrieve and manage subnetpools through the Neutron API.
|
Package subnetpools provides the ability to retrieve and manage subnetpools through the Neutron API. |
v2/extensions/subnetpools/testing
subnetpools unit tests
|
subnetpools unit tests |
v2/extensions/testing
extensions unit tests
|
extensions unit tests |
v2/networks
Package networks contains functionality for working with Neutron network resources.
|
Package networks contains functionality for working with Neutron network resources. |
v2/networks/testing
networks unit tests
|
networks unit tests |
v2/ports
Package ports contains functionality for working with Neutron port resources.
|
Package ports contains functionality for working with Neutron port resources. |
v2/ports/testing
ports unit tests
|
ports unit tests |
v2/subnets
Package subnets contains functionality for working with Neutron subnet resources.
|
Package subnets contains functionality for working with Neutron subnet resources. |
v2/subnets/testing
subnets unit tests
|
subnets unit tests |
objectstorage
|
|
v1/accounts
Package accounts contains functionality for working with Object Storage account resources.
|
Package accounts contains functionality for working with Object Storage account resources. |
v1/accounts/testing
accounts unit tests
|
accounts unit tests |
v1/containers
Package containers contains functionality for working with Object Storage container resources.
|
Package containers contains functionality for working with Object Storage container resources. |
v1/containers/testing
containers unit tests
|
containers unit tests |
v1/objects
Package objects contains functionality for working with Object Storage object resources.
|
Package objects contains functionality for working with Object Storage object resources. |
v1/objects/testing
objects unit tests
|
objects unit tests |
v1/swauth
Package swauth implements Swift's built-in authentication.
|
Package swauth implements Swift's built-in authentication. |
v1/swauth/testing
swauth unit tests
|
swauth unit tests |
orchestration
|
|
v1/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Heat service.
|
Package apiversions provides information and interaction with the different API versions for the OpenStack Heat service. |
v1/apiversions/testing
orchestration_apiversions_v1
|
orchestration_apiversions_v1 |
v1/buildinfo
Package buildinfo provides build information about heat deployments.
|
Package buildinfo provides build information about heat deployments. |
v1/buildinfo/testing
orchestration_buildinfo_v1
|
orchestration_buildinfo_v1 |
v1/stackevents
Package stackevents provides operations for finding, listing, and retrieving stack events.
|
Package stackevents provides operations for finding, listing, and retrieving stack events. |
v1/stackevents/testing
orchestration_stackevents_v1
|
orchestration_stackevents_v1 |
v1/stackresources
Package stackresources provides operations for working with stack resources.
|
Package stackresources provides operations for working with stack resources. |
v1/stackresources/testing
orchestration_stackresources_v1
|
orchestration_stackresources_v1 |
v1/stacks
Package stacks provides operation for working with Heat stacks.
|
Package stacks provides operation for working with Heat stacks. |
v1/stacks/testing
orchestration_stacks_v1
|
orchestration_stacks_v1 |
v1/stacktemplates
Package stacktemplates provides operations for working with Heat templates.
|
Package stacktemplates provides operations for working with Heat templates. |
v1/stacktemplates/testing
orchestration_stacktemplates_v1
|
orchestration_stacktemplates_v1 |
rds
|
|
sharedfilesystems
|
|
apiversions
Package apiversions provides information and interaction with the different API versions for the Shared File System service, code-named Manila.
|
Package apiversions provides information and interaction with the different API versions for the Shared File System service, code-named Manila. |
apiversions/testing
apiversions_v1
|
apiversions_v1 |
openstack
|
openstack |
testing
utils
|
utils |
vpc
|
|
v1/bandwidths
You can allocate bandwidth when assigning an EIP so that the ECS bound with the EIP can use the bandwidth to access the Internet.
|
You can allocate bandwidth when assigning an EIP so that the ECS bound with the EIP can use the bandwidth to access the Internet. |
v1/ports
Sample Code, This interface is used to create a port.
|
Sample Code, This interface is used to create a port. |
v1/privateips
A public IP address is an IP address that can be directly accessed over the Internet.
|
A public IP address is an IP address that can be directly accessed over the Internet. |
v1/quotas
This interface is used to query network resource quotas for the VPC service of a tenant.
|
This interface is used to query network resource quotas for the VPC service of a tenant. |
v1/securitygrouprules
This interface is used to query network resource quotas for the VPC service of a tenant.
|
This interface is used to query network resource quotas for the VPC service of a tenant. |
v1/securitygroups
This interface is used to query network resource quotas for the VPC service of a tenant.
|
This interface is used to query network resource quotas for the VPC service of a tenant. |