kubernetes

package
v1.1.38 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients interface {
	// ForRelease returns an API client authenticated against the release's cluster
	ForRelease(release terra.Release) (k8s.Interface, error)
	// ForKubectx returns an API client authenticated against the cluster referred to by the given Kubeconfig
	ForKubectx(kubectx kubecfg.Kubectx) (k8s.Interface, error)
	// Kubectl returns a new Kubectl
	Kubectl() (kubectl.Kubectl, error)
	// Kubecfg returns the Kubecfg instance used by this Clients
	Kubecfg() (kubecfg.Kubeconfig, error)
}

Clients factory interface for K8s tools & clients

func New

func New(thelmaRoot root.Root, shellRunner shell.Runner, googleClients google.Clients) Clients

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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