openstack

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

BlockStorageClientset provides the registry of OpenStack Block Storage API clients for interfacing with block storage resources.

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

View Source
var LoadBalancerClientset = registry.New[string, 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.

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.

Jump to

Keyboard shortcuts

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