client

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 6 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 {
	Connect ConnectorFunc
	// contains filtered or unexported fields
}

func (*Client) DeletePod

func (c *Client) DeletePod(ctx context.Context, namespace, name string) error

func (*Client) Disconnect added in v0.2.0

func (c *Client) Disconnect()

func (*Client) GetPodsForLabelSelector

func (c *Client) GetPodsForLabelSelector(ctx context.Context, namespace string, labelSelector string) ([]coreV1.Pod, error)

type ConnectorFunc

type ConnectorFunc func() (kubernetes.Interface, error)

Jump to

Keyboard shortcuts

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