openstack

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockStorageClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()

BlockStorageClientset provides the registry of OpenStack BLockStorage API clients for interfacing with volumes.

ComputeClientset provides the registry of OpenStack Compute API clients for interfacing with compute resources (servers, etc).

IdentityClientset provides the registry of OpenStack Identity API clients

View Source
var LoadBalancerClientset = registry.New[ClientScope, Client[*gophercloud.ServiceClient]]()

LoadBalancerClientset provides the registry of OpenStack LoadBalancer API clients for interfacing with load balancer resources.

NetworkClientset provides the registry of OpenStack Network API clients for interfacing with network resoures.

View Source
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL