occli

package
v1.2.48 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginToKubeconfigFile added in v1.2.48

func LoginToKubeconfigFile(user string, password string) (kubeconfigFile string, err error)

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) (ocClient *Client, err error)

func (Client) Run

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

Jump to

Keyboard shortcuts

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