Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BlockStorageClientset = registry.New[string, Client[*gophercloud.ServiceClient]]()
BlockStorageClientset provides the registry of OpenStack Block Storage API clients for interfacing with block storage resources.
var ComputeClientset = registry.New[string, Client[*gophercloud.ServiceClient]]()
ComputeClientset provides the registry of OpenStack Compute API clients for interfacing with compute resources (servers, etc).
var LoadBalancerClientset = registry.New[string, Client[*gophercloud.ServiceClient]]()
LoadBalancerClientset provides the registry of OpenStack LoadBalancer API clients for interfacing with load balancer resources.
var NetworkClientset = registry.New[string, Client[*gophercloud.ServiceClient]]()
NetworkClientset provides the registry of OpenStack Network API clients for interfacing with network resoures.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client[T any] struct { // NamedCredentials is the name of the credentials, which were used to // create the API client. NamedCredentials string // ProjectID is the project id associated with the client. ProjectID string // Region is the region associated with the client. Region string // Domain is the domain associated with the client. Domain string // Client is the client used to make API calls to the OpenStack API services. Client T }
Client is a wrapper for an OpenStack API client, which comes with additional metadata such as the named credentials which were used to create the client, the Project ID, Region and Domain which the client is associated with.