occli

package
v1.2.42 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DummyGetKubeConfigFromEnv

func DummyGetKubeConfigFromEnv()

func RunCMD

func RunCMD(cmd string) (stdout string, stderr string, err error)

Types

type Client

type Client struct {
	KubePath string
}

func NewOCClient

func NewOCClient(kubePath ...string) *Client

func (Client) Run

func (ocClient Client) Run(cmd string, pipeCommands ...string) (stdout string, err error)

type RunCMDError

type RunCMDError struct {
	Stderr string
	Err    error
	CMD    string
}

Jump to

Keyboard shortcuts

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