gke

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManagerClient

type ClusterManagerClient interface {
	GetCluster(ctx context.Context, req *containerpb.GetClusterRequest, opts ...gax.CallOption) (*containerpb.Cluster, error)
	Close() error
}

type GKEClient

type GKEClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) (*GKEClient, error)

func NewClientWithCredentialsFile

func NewClientWithCredentialsFile(ctx context.Context, credentialsFile string) (*GKEClient, error)

func (*GKEClient) Close

func (c *GKEClient) Close() error

func (*GKEClient) GetCluster

func (c *GKEClient) GetCluster(project string, location string, name string) (*containerpb.Cluster, error)

Jump to

Keyboard shortcuts

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