clientcmd

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*client, error)

Types

type Client

type Client interface {
	Exec(pod *corev1.Pod, containerName string, command []string, stdin io.Reader, stdout, stderr io.Writer, tty bool) error
	PodLogs(ctx context.Context, namespace, podName string, opts *corev1.PodLogOptions) ([]string, error)
	IsPodRunning(ctx context.Context, namespace, podName string) (bool, error)
	REST() restclient.Interface
}

Jump to

Keyboard shortcuts

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