Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundRun ¶
BackgroundRun run cmd in background
func BackgroundRunWithCtx ¶
func BackgroundRunWithCtx(cmdCtx *CMDContext, debug bool) (err error)
BackgroundRunWithCtx run cmd in background with context
Types ¶
type CMDContext ¶
type CMDContext struct { Ctx context.Context Cmd *exec.Cmd Name string Stop chan bool // notify parent current Cmd occur error }
CMDContext context of cmd
type CliInterface ¶
type CliInterface interface { Kubectl() kubectl.CliInterface SSHUttle() sshuttle.CliInterface SSH() ssh.CliInterface }
CliInterface ...
Click to show internal directories.
Click to hide internal directories.