dynamicresource

package
v0.0.0-...-053853d Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicResource

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

DynamicResource is a struct for dynamic resources

func NewClient

NewClient function creates a new instance of DynamicResource

func (*DynamicResource) Create

func (r *DynamicResource) Create(res metav1.Object) error

Create method creates a new instance of appropriate k8s resource

func (*DynamicResource) Delete

func (r *DynamicResource) Delete(namespace, name string) error

Delete method deletes a existing instance of appropriate k8s resource

func (*DynamicResource) Get

func (r *DynamicResource) Get(namespace, name string, obj interface{}) error

Get method gets a existing instance of appropriate k8s resource

Jump to

Keyboard shortcuts

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