kube

package
v0.0.0-...-40eda91 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFakeDeployment

func AddFakeDeployment()

Types

type Client

type Client struct {
	RestMapper       meta.RESTMapper
	DynamicInterface dynamic.Interface
}

func GetKubeClient

func GetKubeClient() *Client

func SetFakeClient

func SetFakeClient() *Client

func (Client) GetData

func (client Client) GetData(ctx context.Context, group, kind string) ([]interface{}, error)

Jump to

Keyboard shortcuts

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