gcp

package
v1.226.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGKEIntegration

func NewGKEIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)

NewGKEIntegration creates a GKE integration from config.

Types

type GKEIntegration

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

GKEIntegration implements the gcp/gke integration type.

func (*GKEIntegration) Cleanup

func (g *GKEIntegration) Cleanup(_ context.Context) error

Cleanup removes this integration's kubeconfig entries.

func (*GKEIntegration) Environment

func (g *GKEIntegration) Environment() (map[string]string, error)

Environment returns the kubeconfig variables contributed by this integration.

func (*GKEIntegration) Execute

func (g *GKEIntegration) Execute(ctx context.Context, creds types.ICredentials) error

Execute describes the GKE cluster and provisions its kubeconfig entry.

func (*GKEIntegration) Kind

func (g *GKEIntegration) Kind() string

Kind returns gcp/gke.

Jump to

Keyboard shortcuts

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