Documentation ¶
Overview ¶
Package ecl contains resources for the individual Enterprise Cloud projects supported in eclcloud. It also includes functions to authenticate to an Enterprise cloud and for provisioning various service-level clients.
Example of Creating a Service Client
ao, err := ecl.AuthOptionsFromEnv() provider, err := ecl.AuthenticatedClient(ao) client, err := ecl.NewNetworkV2(client, eclcloud.EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
Index ¶
- func AuthOptionsFromEnv() (eclcloud.AuthOptions, error)
- func Authenticate(client *eclcloud.ProviderClient, options eclcloud.AuthOptions) error
- func AuthenticateV3(client *eclcloud.ProviderClient, options tokens3.AuthOptionsBuilder, ...) error
- func AuthenticatedClient(options eclcloud.AuthOptions) (*eclcloud.ProviderClient, error)
- func NewBaremetalV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewClient(endpoint string) (*eclcloud.ProviderClient, error)
- func NewClusteringV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewComputeV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewComputeVolumeV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewContainerInfraV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewContainerV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewDNSV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewDedicatedHypervisorV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewIdentityV3(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewImageServiceV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewKeyManagerV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewLoadBalancerV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewMessagingV2(client *eclcloud.ProviderClient, clientID string, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewNetworkV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewObjectStorageV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewOrchestrationV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewProviderConnectivityV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewRCAV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewSSSV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewSSSV1Forced(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts, sssURL string) (*eclcloud.ServiceClient, error)
- func NewSecurityOrderV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewSecurityPortalV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewStorageV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewVNAV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func NewWorkflowV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
- func V3EndpointURL(catalog *tokens3.ServiceCatalog, opts eclcloud.EndpointOpts) (string, error)
- type ErrEndpointNotFound
- type ErrInvalidAvailabilityProvided
- type ErrMultipleMatchingEndpointsV3
- type ErrNoAuthURL
- type ErrNoPassword
- type ErrNoUsername
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthOptionsFromEnv ¶
func AuthOptionsFromEnv() (eclcloud.AuthOptions, error)
AuthOptionsFromEnv fills out an identity.AuthOptions structure with the settings found on the various Enterprise Cloud OS_* environment variables.
The following variables provide sources of truth: OS_AUTH_URL, OS_USERNAME, OS_PASSWORD, OS_TENANT_ID, and OS_TENANT_NAME.
Of these, OS_USERNAME, OS_PASSWORD, and OS_AUTH_URL must have settings, or an error will result. OS_TENANT_ID, OS_TENANT_NAME, OS_PROJECT_ID, and OS_PROJECT_NAME are optional.
OS_TENANT_ID and OS_TENANT_NAME are mutually exclusive to OS_PROJECT_ID and OS_PROJECT_NAME. If OS_PROJECT_ID and OS_PROJECT_NAME are set, they will still be referred as "tenant" in eclcloud.
To use this function, first set the OS_* environment variables (for example, by sourcing an `openrc` file), then:
opts, err := ecl.AuthOptionsFromEnv() provider, err := ecl.AuthenticatedClient(opts)
func Authenticate ¶
func Authenticate(client *eclcloud.ProviderClient, options eclcloud.AuthOptions) error
Authenticate or re-authenticate against the most recent identity service supported at the provided endpoint.
func AuthenticateV3 ¶
func AuthenticateV3(client *eclcloud.ProviderClient, options tokens3.AuthOptionsBuilder, eo eclcloud.EndpointOpts) error
AuthenticateV3 explicitly authenticates against the identity v3 service.
func AuthenticatedClient ¶
func AuthenticatedClient(options eclcloud.AuthOptions) (*eclcloud.ProviderClient, error)
AuthenticatedClient logs in to an Enterprise 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 := ecl.AuthOptionsFromEnv() provider, err := ecl.AuthenticatedClient(ao) client, err := ecl.NewNetworkV2(client, eclcloud.EndpointOpts{ Region: os.Getenv("OS_REGION_NAME"), })
func NewBaremetalV2 ¶ added in v1.6.0
func NewBaremetalV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewBaremetalV2 creates a ServiceClient that may be used with the v2 baremetal package.
func NewClient ¶
func NewClient(endpoint string) (*eclcloud.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 := ecl.AuthOptionsFromEnv() provider, err := ecl.NewClient(ao.IdentityEndpoint) client, err := ecl.NewIdentityV3(provider, eclcloud.EndpointOpts{})
func NewClusteringV1 ¶
func NewClusteringV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewClusteringV1 creates a ServiceClient that may be used with the v1 clustering package.
func NewComputeV2 ¶
func NewComputeV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewComputeV2 creates a ServiceClient that may be used with the v2 compute package.
func NewComputeVolumeV2 ¶
func NewComputeVolumeV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewComputeVolumeV2 creates a ServiceClient that may be used to access the v2 block storage service.
func NewContainerInfraV1 ¶
func NewContainerInfraV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewContainerInfraV1 creates a ServiceClient that may be used with the v1 container infra management package.
func NewContainerV1 ¶
func NewContainerV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewContainerV1 creates a ServiceClient that may be used with v1 container package
func NewDNSV2 ¶
func NewDNSV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewDNSV2 creates a ServiceClient that may be used to access the v2 DNS service.
func NewDedicatedHypervisorV1 ¶ added in v1.7.0
func NewDedicatedHypervisorV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewDedicatedHypervisorV1 creates a ServiceClient that may be used to access the v1 Dedicated Hypervisor service.
func NewIdentityV3 ¶
func NewIdentityV3(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewIdentityV3 creates a ServiceClient that may be used to access the v3 identity service.
func NewImageServiceV2 ¶
func NewImageServiceV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewImageServiceV2 creates a ServiceClient that may be used to access the v2 image service.
func NewKeyManagerV1 ¶
func NewKeyManagerV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewKeyManagerV1 creates a ServiceClient that may be used with the v1 key manager service.
func NewLoadBalancerV2 ¶
func NewLoadBalancerV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewLoadBalancerV2 creates a ServiceClient that may be used to access the v2 load balancer service.
func NewMessagingV2 ¶
func NewMessagingV2(client *eclcloud.ProviderClient, clientID string, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewMessagingV2 creates a ServiceClient that may be used with the v2 messaging service.
func NewNetworkV2 ¶
func NewNetworkV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewNetworkV2 creates a ServiceClient that may be used with the v2 network package.
func NewObjectStorageV1 ¶
func NewObjectStorageV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewObjectStorageV1 creates a ServiceClient that may be used with the v1 object storage package.
func NewOrchestrationV1 ¶
func NewOrchestrationV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewOrchestrationV1 creates a ServiceClient that may be used to access the v1 orchestration service.
func NewProviderConnectivityV2 ¶ added in v1.9.0
func NewProviderConnectivityV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewProviderConnectivityV2 creates a ServiceClient that may be used to access the v2 Provider Connectivity service.
func NewRCAV1 ¶ added in v1.8.0
func NewRCAV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewRCAV1 creates a ServiceClient that may be used to access the v1 Remote Console Access service.
func NewSSSV1 ¶
func NewSSSV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewSSSV1 creates ServiceClient that may be used to access the v1 SSS API service.
func NewSSSV1Forced ¶
func NewSSSV1Forced(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts, sssURL string) (*eclcloud.ServiceClient, error)
NewSSSV1 creates ServiceClient that may be used to access the v1 SSS API service with Unscoped Token.
func NewSecurityOrderV1 ¶ added in v1.3.0
func NewSecurityOrderV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewSecurityOrderV1 creates a ServiceClient that may be used to access the v1 Security Order API service.
func NewSecurityPortalV1 ¶ added in v1.3.0
func NewSecurityPortalV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewSecurityPortalV1 creates a ServiceClient that may be used to access the v1 Security Portal API service.
func NewStorageV1 ¶
func NewStorageV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewStorageV1 creates ServiceClient that may be used to access the v1 storage API service.
func NewVNAV1 ¶ added in v1.2.0
func NewVNAV1(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewVNAV1 creates a ServiceClient that may be used with the v1 virtual network appliance management package.
func NewWorkflowV2 ¶
func NewWorkflowV2(client *eclcloud.ProviderClient, eo eclcloud.EndpointOpts) (*eclcloud.ServiceClient, error)
NewWorkflowV2 creates a ServiceClient that may be used with the v2 workflow management package.
func V3EndpointURL ¶
func V3EndpointURL(catalog *tokens3.ServiceCatalog, opts eclcloud.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 Enterprise Cloud deployment.
Types ¶
type ErrEndpointNotFound ¶
ErrEndpointNotFound is the error when no suitable endpoint can be found in the user's catalog
func (ErrEndpointNotFound) Error ¶
func (e ErrEndpointNotFound) Error() string
type ErrInvalidAvailabilityProvided ¶
type ErrInvalidAvailabilityProvided struct{ eclcloud.ErrInvalidInput }
ErrInvalidAvailabilityProvided is the error when an invalid endpoint availability is provided
func (ErrInvalidAvailabilityProvided) Error ¶
func (e ErrInvalidAvailabilityProvided) Error() string
type ErrMultipleMatchingEndpointsV3 ¶
ErrMultipleMatchingEndpointsV3 is the error when more than one endpoint for the given options is found in the v3 catalog
func (ErrMultipleMatchingEndpointsV3) Error ¶
func (e ErrMultipleMatchingEndpointsV3) Error() string
type ErrNoAuthURL ¶
type ErrNoAuthURL struct{ eclcloud.ErrInvalidInput }
ErrNoAuthURL is the error when the OS_AUTH_URL environment variable is not found
func (ErrNoAuthURL) Error ¶
func (e ErrNoAuthURL) Error() string
type ErrNoPassword ¶
type ErrNoPassword struct{ eclcloud.ErrInvalidInput }
ErrNoPassword is the error when the OS_PASSWORD environment variable is not found
func (ErrNoPassword) Error ¶
func (e ErrNoPassword) Error() string
type ErrNoUsername ¶
type ErrNoUsername struct{ eclcloud.ErrInvalidInput }
ErrNoUsername is the error when the OS_USERNAME environment variable is not found
func (ErrNoUsername) Error ¶
func (e ErrNoUsername) Error() string
Directories ¶
Path | Synopsis |
---|---|
baremetal
|
|
v2/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/availabilityzones/testing
Package testing contains baremetal availability zone unit tests
|
Package testing contains baremetal availability zone unit tests |
v2/flavors
Package flavors contains functionality for working with ECL Baremetal Server's flavor resources.
|
Package flavors contains functionality for working with ECL Baremetal Server's flavor resources. |
v2/flavors/testing
Package testing contains baremetal flavor unit tests
|
Package testing contains baremetal flavor unit tests |
v2/keypairs
Package keypairs provides the ability to manage key pairs.
|
Package keypairs provides the ability to manage key pairs. |
v2/keypairs/testing
Package testing contains keypairs unit tests
|
Package testing contains keypairs unit tests |
v2/servers
Package servers contains functionality for working with ECL Baremetal Server resources.
|
Package servers contains functionality for working with ECL Baremetal Server resources. |
v2/servers/testing
Package testing contains baremetal server unit tests
|
Package testing contains baremetal server unit tests |
compute
|
|
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
Package testing contains bootfromvolume unit tests
|
Package testing contains bootfromvolume unit tests |
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
Package testing contains keypairs unit tests
|
Package testing contains keypairs unit tests |
v2/extensions/startstop
Package startstop provides functionality to start and stop servers that have been provisioned by the Enterprise Cloud Compute service.
|
Package startstop provides functionality to start and stop servers that have been provisioned by the Enterprise Cloud Compute service. |
v2/extensions/startstop/testing
Package testing contains startstop unit tests
|
Package testing contains startstop 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
Package testing contains volumeattach unit tests
|
Package testing contains volumeattach unit tests |
v2/flavors
Package flavors provides information and interaction with the flavor API in the Enterprise Cloud Compute service.
|
Package flavors provides information and interaction with the flavor API in the Enterprise Cloud Compute service. |
v2/images
Package images provides information and interaction with the images through the Enterprise Cloud Compute service.
|
Package images provides information and interaction with the images through the Enterprise Cloud Compute service. |
v2/servers
Package servers provides information and interaction with the server API resource in the Enterprise Cloud Compute service.
|
Package servers provides information and interaction with the server API resource in the Enterprise Cloud Compute service. |
v2/servers/testing
Compute Server unit tests
|
Compute Server unit tests |
computevolume
|
|
extensions/volumeactions
Package volumeactions provides information and interaction with volumes in the Enterprise Cloud Block Storage service.
|
Package volumeactions provides information and interaction with volumes in the Enterprise Cloud Block Storage service. |
extensions/volumeactions/testing
volumeactions unit tests
|
volumeactions unit tests |
v2/volumes
Package volumes provides information and interaction with volumes in the Enterprise Cloud Block Storage service.
|
Package volumes provides information and interaction with volumes in the Enterprise Cloud Block Storage service. |
v2/volumes/testing
volumes_v2 unittest
|
volumes_v2 unittest |
dedicated_hypervisor
|
|
v1/license_types
Package license_types manages and retrieves license type in the Enterprise Cloud Dedicated Hypervisor Service.
|
Package license_types manages and retrieves license type in the Enterprise Cloud Dedicated Hypervisor Service. |
v1/licenses
Package licenses manages and retrieves license in the Enterprise Cloud Dedicated Hypervisor Service.
|
Package licenses manages and retrieves license in the Enterprise Cloud Dedicated Hypervisor Service. |
v1/servers
Package servers manages and retrieves servers in the Enterprise Cloud Dedicated Hypervisor Service.
|
Package servers manages and retrieves servers in the Enterprise Cloud Dedicated Hypervisor Service. |
v1/usages
Package usages manages and retrieves usage in the Enterprise Cloud Dedicated Hypervisor Service.
|
Package usages manages and retrieves usage in the Enterprise Cloud Dedicated Hypervisor Service. |
dns
|
|
v2/recordsets
Package recordsets provides information and interaction with the zone API resource for the Enterprise Cloud DNS service.
|
Package recordsets provides information and interaction with the zone API resource for the Enterprise Cloud DNS service. |
v2/recordsets/testing
recordsets unit tests
|
recordsets unit tests |
v2/zones
Package zones provides information and interaction with the zone API resource for the Enterprise Cloud DNS service.
|
Package zones provides information and interaction with the zone API resource for the Enterprise Cloud DNS service. |
v2/zones/testing
zones unit tests
|
zones unit tests |
identity
|
|
v3/endpoints
Package endpoints provides information and interaction with the service endpoints API resource in the Enterprise Cloud Identity service.
|
Package endpoints provides information and interaction with the service endpoints API resource in the Enterprise Cloud Identity service. |
v3/groups
Package groups manages and retrieves Groups in the Enterprise Cloud Identity Service.
|
Package groups manages and retrieves Groups in the Enterprise Cloud Identity Service. |
v3/projects
Package projects manages and retrieves Projects in the Enterprise Cloud Identity Service.
|
Package projects manages and retrieves Projects in the Enterprise Cloud Identity Service. |
v3/roles
Package roles provides information and interaction with the roles API resource for the Enterprise Cloud Identity service.
|
Package roles provides information and interaction with the roles API resource for the Enterprise Cloud Identity service. |
v3/services
Package services provides information and interaction with the services API resource for the Enterprise Cloud Identity service.
|
Package services provides information and interaction with the services API resource for the Enterprise Cloud Identity service. |
v3/tokens
Package tokens provides information and interaction with the token API resource for the Enterprise Cloud Identity service.
|
Package tokens provides information and interaction with the token API resource for the Enterprise Cloud Identity service. |
v3/users
Package users manages and retrieves Users in the Enterprise Cloud Identity Service.
|
Package users manages and retrieves Users in the Enterprise Cloud Identity Service. |
imagestorage
|
|
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 Enterprise Cloud Image Service.
|
Package images enables management and retrieval of images from the Enterprise Cloud Image Service. |
v2/images/testing
Package testing contains images unit tests
|
Package testing contains images unit tests |
v2/members/testing
members unit tests
|
members unit tests |
network
|
|
v2/common_function_gateways
Package common_function_gateways contains functionality for working with ECL Commnon Function Gateway resources.
|
Package common_function_gateways contains functionality for working with ECL Commnon Function Gateway resources. |
v2/common_function_gateways/testing
Package testing contains common function gateways unit tests
|
Package testing contains common function gateways unit tests |
v2/fic_gateways
Package fic_gateways provides information of several service in the Enterprise Cloud Compute service Example to List FIC Gateways listOpts := fic_gateways.ListOpts{ Status: "ACTIVE", } allPages, err := fic_gateways.List(client, listOpts).AllPages() if err != nil { panic(err) } allFICGateways, err := fic_gateways.ExtractFICGateways(allPages) if err != nil { panic(err) } for _, ficGateway := range allFICGateways { fmt.Printf("%+v", ficGateway) } Example to Show FIC Gateway id := "02dc9a22-129c-4b12-9936-4080f6a7ae44" ficGateway, err := fic_gateways.Get(client, id).Extract() if err != nil { panic(err) } fmt.Print(ficGateway)
|
Package fic_gateways provides information of several service in the Enterprise Cloud Compute service Example to List FIC Gateways listOpts := fic_gateways.ListOpts{ Status: "ACTIVE", } allPages, err := fic_gateways.List(client, listOpts).AllPages() if err != nil { panic(err) } allFICGateways, err := fic_gateways.ExtractFICGateways(allPages) if err != nil { panic(err) } for _, ficGateway := range allFICGateways { fmt.Printf("%+v", ficGateway) } Example to Show FIC Gateway id := "02dc9a22-129c-4b12-9936-4080f6a7ae44" ficGateway, err := fic_gateways.Get(client, id).Extract() if err != nil { panic(err) } fmt.Print(ficGateway) |
v2/fic_gateways/testing
ports unit tests
|
ports unit tests |
v2/gateway_interfaces/testing
gateway_interfaces unit tests
|
gateway_interfaces unit tests |
v2/internet_gateways/testing
internet_gateways unit tests
|
internet_gateways unit tests |
v2/load_balancer_actions
Package load_balancer_actions contains functionality for working with ECL Load Balancer/Actions resources.
|
Package load_balancer_actions contains functionality for working with ECL Load Balancer/Actions resources. |
v2/load_balancer_actions/testing
Load Balancer/Actions unit tests
|
Load Balancer/Actions unit tests |
v2/load_balancer_interfaces
Package load_balancer_interfaces contains functionality for working with ECL Load Balancer Interface resources.
|
Package load_balancer_interfaces contains functionality for working with ECL Load Balancer Interface resources. |
v2/load_balancer_interfaces/testing
Load Balancer Interfaces unit tests
|
Load Balancer Interfaces unit tests |
v2/load_balancer_plans
Package load_balancer_plans contains functionality for working with ECL Load Balancer Plan resources.
|
Package load_balancer_plans contains functionality for working with ECL Load Balancer Plan resources. |
v2/load_balancer_plans/testing
Load Balancer Plans unit tests
|
Load Balancer Plans unit tests |
v2/load_balancer_syslog_servers
Package load_balancer_syslog_servers contains functionality for working with ECL Load Balancer Syslog Server resources.
|
Package load_balancer_syslog_servers contains functionality for working with ECL Load Balancer Syslog Server resources. |
v2/load_balancer_syslog_servers/testing
Load Balancer Syslog Servers unit tests
|
Load Balancer Syslog Servers unit tests |
v2/load_balancers
Package load_balancers contains functionality for working with ECL Load Balancer resources.
|
Package load_balancers contains functionality for working with ECL Load Balancer resources. |
v2/load_balancers/testing
Load Balancers unit tests
|
Load Balancers 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
ports unit tests
|
ports 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/public_ips/testing
public_ips unit tests
|
public_ips unit tests |
v2/qos_options
Package qos_options provides information of several service in the Enterprise Cloud Compute service Example to List QoS Options listOpts := qos_options.ListOpts{ QoSType: "guarantee", } allPages, err := qos_options.List(client, listOpts).AllPages() if err != nil { panic(err) } allQoSOptions, err := qos_options.ExtractQoSOptions(allPages) if err != nil { panic(err) } for _, qosOption := range allQoSOptions { fmt.Printf("%+v", qosOption) } Example to Show QoS Option id := "02dc9a22-129c-4b12-9936-4080f6a7ae44" qosOption, err := qos_options.Get(client, id).Extract() if err != nil { panic(err) } fmt.Print(qosOption)
|
Package qos_options provides information of several service in the Enterprise Cloud Compute service Example to List QoS Options listOpts := qos_options.ListOpts{ QoSType: "guarantee", } allPages, err := qos_options.List(client, listOpts).AllPages() if err != nil { panic(err) } allQoSOptions, err := qos_options.ExtractQoSOptions(allPages) if err != nil { panic(err) } for _, qosOption := range allQoSOptions { fmt.Printf("%+v", qosOption) } Example to Show QoS Option id := "02dc9a22-129c-4b12-9936-4080f6a7ae44" qosOption, err := qos_options.Get(client, id).Extract() if err != nil { panic(err) } fmt.Print(qosOption) |
v2/qos_options/testing
ports unit tests
|
ports unit tests |
v2/static_routes/testing
public_ips unit tests
|
public_ips 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
ports unit tests
|
ports unit tests |
provider_connectivity
|
|
v2/tenant_connection_requests
Package tenant_connection_requests manages and retrieves Tenant Connection Request in the Enterprise Cloud Provider Connectivity Service.
|
Package tenant_connection_requests manages and retrieves Tenant Connection Request in the Enterprise Cloud Provider Connectivity Service. |
v2/tenant_connection_requests/testing
Tenant Connection Request unit tests
|
Tenant Connection Request unit tests |
v2/tenant_connections
Package tenant_connections manages and retrieves Tenant Connection in the Enterprise Cloud Provider Connectivity Service.
|
Package tenant_connections manages and retrieves Tenant Connection in the Enterprise Cloud Provider Connectivity Service. |
v2/tenant_connections/testing
Tenant Connection unit tests
|
Tenant Connection unit tests |
rca
|
|
v1/users
Package users manages and retrieves users in the Enterprise Cloud Remote Console Access Service.
|
Package users manages and retrieves users in the Enterprise Cloud Remote Console Access Service. |
security_order
|
|
v1/host_based
Package host_based contains Host Based Security functionality.
|
Package host_based contains Host Based Security functionality. |
v1/host_based/testing
Package testing contains host based security unittests
|
Package testing contains host based security unittests |
v1/network_based_device_ha
Package network_based_device_ha contains HA device functionality on security.
|
Package network_based_device_ha contains HA device functionality on security. |
v1/network_based_device_ha/testing
Package testing contains network based security HA device unittests
|
Package testing contains network based security HA device unittests |
v1/network_based_device_single
Package network_based_device_single contains single device functionality on security.
|
Package network_based_device_single contains single device functionality on security. |
v1/network_based_device_single/testing
Package testing contains network based security single device unittests
|
Package testing contains network based security single device unittests |
v1/service_order_status
Package service_order_status contains order management functionality on security
|
Package service_order_status contains order management functionality on security |
v1/service_order_status/testing
Package testing contains service order status unit tests
|
Package testing contains service order status unit tests |
security_portal
|
|
v1/device_interfaces
Package device_interfaces contains device management functionality in security portal API
|
Package device_interfaces contains device management functionality in security portal API |
v1/device_interfaces/testing
Package testing contains device interfaces unit tests
|
Package testing contains device interfaces unit tests |
v1/devices
Package devices contains device management functionality in security portal API
|
Package devices contains device management functionality in security portal API |
v1/devices/testing
Package testing contains devices unit tests
|
Package testing contains devices unit tests |
v1/ha_ports
Package ha_ports contains port management functionality in security portal API
|
Package ha_ports contains port management functionality in security portal API |
v1/ha_ports/testing
Package testing contains ports unit tests
|
Package testing contains ports unit tests |
v1/ports
Package ports contains port management functionality in security portal API
|
Package ports contains port management functionality in security portal API |
v1/ports/testing
Package testing contains ports unit tests
|
Package testing contains ports unit tests |
v1/processes
Package process contains port management functionality on security
|
Package process contains port management functionality on security |
v1/processes/testing
Package testing contains processes unit tests
|
Package testing contains processes unit tests |
sss
|
|
v1/approval_requests
Package approval_requests manages and retrieves approval requests in the Enterprise Cloud.
|
Package approval_requests manages and retrieves approval requests in the Enterprise Cloud. |
v1/approval_requests/testing
sss approval request unit tests
|
sss approval request unit tests |
v1/tenants
Package projects manages and retrieves Projects in the ECL SSS Service.
|
Package projects manages and retrieves Projects in the ECL SSS Service. |
v1/tenants/testing
sss tenant unit tests
|
sss tenant unit tests |
v1/users
Package users contains user management functionality on SSS
|
Package users contains user management functionality on SSS |
v1/users/testing
sss user unit tests
|
sss user unit tests |
storage
|
|
v1/virtualstorages
Package virtualstorages provides information and interaction with virtualstorage in the Enterprise Cloud Block Storage service.
|
Package virtualstorages provides information and interaction with virtualstorage in the Enterprise Cloud Block Storage service. |
v1/virtualstorages/testing
Package testing contains virtual storage unit tests
|
Package testing contains virtual storage unit tests |
v1/volumes
Package volume provides information and interaction with volume in the Storage service.
|
Package volume provides information and interaction with volume in the Storage service. |
v1/volumes/testing
Package testing contains volume unit tests
|
Package testing contains volume unit tests |
v1/volumetypes/testing
Package testing contains volume type unit tests
|
Package testing contains volume type unit tests |
vna
|
|
v1/appliances
Package appliances contains functionality for working with ECL Commnon Function Gateway resources.
|
Package appliances contains functionality for working with ECL Commnon Function Gateway resources. |
v1/appliances/testing
Package testing contains virtual network appliance unit tests
|
Package testing contains virtual network appliance unit tests |