crd

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.1.4

type Client struct {
	Client    *dynamic.DynamicClient
	Namespace string
	GVR       schema.GroupVersionResource
}

func (*Client) Create added in v0.1.4

func (c *Client) Create(ctx context.Context, data interface{}, opts metav1.CreateOptions) (*unstructured.Unstructured, error)

func (*Client) Delete added in v0.1.4

func (c *Client) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*Client) Get added in v0.1.4

func (*Client) List added in v0.1.4

func (*Client) Patch added in v0.1.4

func (c *Client) Patch(ctx context.Context, name string, pt types.PatchType, date []byte, opts metav1.PatchOptions) (
	*unstructured.Unstructured,
	error,
)

func (*Client) Update added in v0.1.4

func (c *Client) Update(ctx context.Context, data interface{}, opts metav1.UpdateOptions) (
	*unstructured.Unstructured, error)

func (*Client) Watch added in v0.1.4

func (c *Client) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

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