dynclient

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Namespace string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(dynClient dynamic.Interface, clientset kubernetes.Interface, mapper meta.RESTMapper) Client

func NewDefaultDynamicClient

func NewDefaultDynamicClient(namespace string, createNs bool) (*Client, error)

NewDefaultDynamicClient creates dynamic client for given ns.

func (*Client) Create

func (c *Client) Create(obj runtime.Object) error

func (*Client) Delete

func (c *Client) Delete(obj runtime.Object) error

func (*Client) Dynamic

func (c *Client) Dynamic() dynamic.Interface

Jump to

Keyboard shortcuts

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