kubeclient

package
v0.4.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.4.0

func New(ctx Context) (corev1.CoreV1Interface, error)

New returns a new client for the target cluster using the KubeConfig secret stored in the management cluster.

Types

type Context added in v0.4.0

type Context interface {
	context.Context
	GetCluster() *clusterv1.Cluster
	GetControllerClient() controllerClient.Client
}

Context is used to get a Kubernetes client for a target cluster.

Jump to

Keyboard shortcuts

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