gke

package
v0.0.173 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kubeconfig

func Kubeconfig(cluster *containerpb.Cluster, token string) (*clientcmdapi.Config, error)

func Register

func Register()

func RegisterIngressClass added in v0.0.143

func RegisterIngressClass()

Types

type Cluster

type Cluster struct {
	Cluster     *containerpb.Cluster
	ProjectID   string
	TokenSource *gcloud.TokenSource
}

func ConfiguredCluster

func ConfiguredCluster(ctx context.Context, config cfg.Configuration) (*Cluster, error)

Jump to

Keyboard shortcuts

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