gcp

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressesClientset = registry.New[string, *Client[*compute.AddressesClient]]()

AddressesClientset provides the registry of GCP API clients for interfacing with the Compute Addresses API service.

View Source
var ClusterManagerClientset = registry.New[string, *Client[*container.ClusterManagerClient]]()

ClusterManagerClientset provides the registry of GKE API clients for interfacing with the GKE APIs.

View Source
var DisksClientset = registry.New[string, *Client[*compute.DisksClient]]()

DisksClientset provides the registry of GCP API clients for interfacing with the disk API service.

View Source
var ForwardingRulesClientset = registry.New[string, *Client[*compute.ForwardingRulesClient]]()

ForwardingRulesClientset provides the registry of GCP API clients for interfacing with the Forwarding Rules service.

View Source
var GlobalAddressesClientset = registry.New[string, *Client[*compute.GlobalAddressesClient]]()

GlobalAddressesClientset provides the registry of GCP API clients for interfacing with the Compute Global Addresses API service.

View Source
var InstancesClientset = registry.New[string, *Client[*compute.InstancesClient]]()

InstancesClientset provides the registry of GCP API clients for interfacing with the Compute Instances API service.

View Source
var NetworksClientset = registry.New[string, *Client[*compute.NetworksClient]]()

NetworksClientset provides the registry of GCP API clients for interfacing with the networks API service.

ProjectsClientset provides the registry of GCP API clients for interfacing with the Cloud Resource Manager Projects API service.

View Source
var StorageClientset = registry.New[string, *Client[*storage.Client]]()

StorageClientset provides the registry of GCP API clients for interfacing with the storage API service.

View Source
var SubnetworksClientset = registry.New[string, *Client[*compute.SubnetworksClient]]()

SubnetworksClientset provides the registry of GCP API clients for interfacing with the subnet API service.

View Source
var TargetPoolsClientset = registry.New[string, *Client[*compute.TargetPoolsClient]]()

TargetPoolsClientset provides the registry of GCP API clients for interfacing with the Target Pools service.

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 immutable, globally unique GCP Project ID associated
	// with the client.
	ProjectID string

	// Client is the client used to make API calls to the GCP API services.
	Client T
}

Client is a wrapper for a GCP API client, which comes with additional metadata such as the named credentials which were used to create the client, and the Project ID with which the client is associated with.

Jump to

Keyboard shortcuts

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