expend

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResource

func CreateResource(path string, ctx context.Context, resource []byte) (err error)

func InstallNPD

func InstallNPD(ctx context.Context, kubeconfig string) error

func ParseResources added in v0.4.0

func ParseResources(clientset kubernetes.Interface, resource []byte) (mapping *meta.RESTMapping, unstructuredResource unstructured.Unstructured, err error)

ParseResources by parsing the resource, put the result into unstructuredResource and return it.

func RemoveResource

func RemoveResource(path string, ctx context.Context, resource []byte) (err error)

func UninstallNPD

func UninstallNPD(ctx context.Context, kubeconfig string) error

Types

type Expends

type Expends interface {
	// contains filtered or unexported methods
}

type Installer added in v0.4.0

type Installer struct {
	CTX        context.Context
	Kubeconfig string
}

type Resources added in v0.4.0

type Resources []byte

Jump to

Keyboard shortcuts

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