Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BlockStorageClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
BlockStorageClientset provides the registry of OpenStack BLockStorage API clients for interfacing with volumes.
var ComputeClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
ComputeClientset provides the registry of OpenStack Compute API clients for interfacing with compute resources (servers, etc).
var IdentityClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
IdentityClientset provides the registry of OpenStack Identity API clients
var LoadBalancerClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
LoadBalancerClientset provides the registry of OpenStack LoadBalancer API clients for interfacing with load balancer resources.
var NetworkClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
NetworkClientset provides the registry of OpenStack Network API clients for interfacing with network resoures.
var ObjectStorageClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()
ObjectStorageClientset provides the registry of OpenStack Object Storage API clients for interfacing with object storage resources (containers, objects, etc).
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client[T any] struct { ClientScope // 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.
type ClientScope ¶ added in v0.1.11
type ClientScope struct {
// NamedCredentials is the name of the credentials, which were used to
// create the API client.
NamedCredentials string
// Project is the project associated with the client.
Project string
// ProjectID is the project ID associated with the client.
ProjectID string
// Domain is the domain associated with the client.
Domain string
// Region is the region associated with the client.
Region string
}
ClientScope uniquely identifies the scope of the credentials used with an OpenStack client