clientcmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

func (*Client) Exec

func (c *Client) Exec(pod *corev1.Pod, containerName string, command []string, stdin io.Reader, stdout, stderr io.Writer, tty bool) error

func (*Client) IsPodRunning

func (c *Client) IsPodRunning(namespace, podName string) (bool, error)

func (*Client) PodLogs

func (c *Client) PodLogs(namespace, podName string, opts *corev1.PodLogOptions) ([]string, error)

func (*Client) REST

func (c *Client) REST() restclient.Interface

Jump to

Keyboard shortcuts

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