Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AddressesClientset = registry.New[string, *Client[*compute.AddressesClient]]()
AddressesClientset provides the registry of GCP API clients for interfacing with the Compute Addresses API service.
var ClusterManagerClientset = registry.New[string, *Client[*container.ClusterManagerClient]]()
ClusterManagerClientset provides the registry of GKE API clients for interfacing with the GKE APIs.
var DisksClientset = registry.New[string, *Client[*compute.DisksClient]]()
DisksClientset provides the registry of GCP API clients for interfacing with the disk API service.
var ForwardingRulesClientset = registry.New[string, *Client[*compute.ForwardingRulesClient]]()
ForwardingRulesClientset provides the registry of GCP API clients for interfacing with the Forwarding Rules service.
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.
var InstancesClientset = registry.New[string, *Client[*compute.InstancesClient]]()
InstancesClientset provides the registry of GCP API clients for interfacing with the Compute Instances API service.
var NetworksClientset = registry.New[string, *Client[*compute.NetworksClient]]()
NetworksClientset provides the registry of GCP API clients for interfacing with the networks API service.
var ProjectsClientset = registry.New[string, *Client[*resourcemanager.ProjectsClient]]()
ProjectsClientset provides the registry of GCP API clients for interfacing with the Cloud Resource Manager Projects API service.
StorageClientset provides the registry of GCP API clients for interfacing with the storage API service.
var SubnetworksClientset = registry.New[string, *Client[*compute.SubnetworksClient]]()
SubnetworksClientset provides the registry of GCP API clients for interfacing with the subnet API service.
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.