dynamic

package
v0.0.0-...-6b456cb Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicClient

type DynamicClient struct {
	// contains filtered or unexported fields
}

func NewDynamicClient

func NewDynamicClient(dynamicClient dynamic.Interface, k8sClient kubernetes.Interface, namespace string) *DynamicClient

func (*DynamicClient) Create

func (d *DynamicClient) Create(yamlPath string) error

func (*DynamicClient) Delete

func (d *DynamicClient) Delete(yamlPath string) error

func (*DynamicClient) GetResourceFromObject

func (d *DynamicClient) GetResourceFromObject(gvk schema.GroupVersionKind) (dynamic.ResourceInterface, error)

Jump to

Keyboard shortcuts

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