clientcmd

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 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 added in v1.7.1

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

func (*Client) PodLogs added in v1.7.1

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