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)

Source Files