kube

package
v1.0.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewKubernetesClient = func() KubernetesClient {
	return &kubernetesClient{}
}

Functions

This section is empty.

Types

type KubernetesClient

type KubernetesClient interface {
	kubernetes.Interface

	WithContextName(contextName string)
	WithConfigPath(configPath string)

	Init() error

	DefaultNamespace() string
	Dynamic() dynamic.Interface

	GroupVersionResource(apiVersion string, kind string) (schema.GroupVersionResource, error)
	GroupVersionResourceByKind(kind string) (schema.GroupVersionResource, error)
}

func NewFakeKubernetesClient

func NewFakeKubernetesClient() KubernetesClient

Jump to

Keyboard shortcuts

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