gke

package
v0.0.0-...-b1c2c33 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClustersRetriever

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

func NewClustersRetriever

func NewClustersRetriever(credentials *google.Credentials) (*ClustersRetriever, error)

func (*ClustersRetriever) GetCluster

func (r *ClustersRetriever) GetCluster(ctx context.Context, region, name string) (cluster.DiscoveredCluster, error)

func (*ClustersRetriever) Retrieve

type GkeDiscoveredCluster

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

func (*GkeDiscoveredCluster) GetClientset

func (g *GkeDiscoveredCluster) GetClientset(ctx context.Context) (*kubernetes.Clientset, error)

func (*GkeDiscoveredCluster) GetConfig

func (g *GkeDiscoveredCluster) GetConfig(ctx context.Context) (*rest.Config, error)

func (*GkeDiscoveredCluster) GetData

func (g *GkeDiscoveredCluster) GetData() (*cluster.Cluster, error)

func (*GkeDiscoveredCluster) GetToken

func (g *GkeDiscoveredCluster) GetToken(ctx context.Context) (*token.Token, error)

Jump to

Keyboard shortcuts

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