kube

package
v0.0.0-...-d14f77f Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

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 SetFileClient

func SetFileClient(objects []map[string]interface{}) *Client

SetFileClient sets the singletonClient to be a static client based on the values passed in.

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