kubectl

package
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

func NewCLI

func NewCLI(workspace, kubeconfig string) *CLI

func (*CLI) Command

func (c *CLI) Command(ctx context.Context, args ...string) *exec.Cmd

func (*CLI) DescribeNodes

func (c *CLI) DescribeNodes(ctx context.Context)

func (*CLI) GetAllPods

func (c *CLI) GetAllPods(ctx context.Context)

func (*CLI) GetPods

func (c *CLI) GetPods(ctx context.Context, namespace string)

func (*CLI) RunCommand

func (c *CLI) RunCommand(ctx context.Context, args ...string) ([]byte, error)

Jump to

Keyboard shortcuts

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