Documentation
¶
Index ¶
- Constants
- func CMDExecWithOutput(checkCMD *exec.Cmd) (*[]byte, error)
- func CreateFileContent(namespace, podName, volume string) string
- func GetListByCmdPipes(ctx context.Context, cmdLines []*OsCommandLine) ([]string, error)
- func GetResourceWithLabel(ctx context.Context, namespace, resourceName string, labels map[string]string) ([]string, error)
- func WriteToFile(content, fileName string) error
- type OsCommandLine
Constants ¶
View Source
const ( WorkerOSLinux string = "linux" WorkerOSWindows string = "windows" )
View Source
const ( DefaultBSLName string = "default" AdditionalBSLName string = "add-bsl" )
Variables ¶
This section is empty.
Functions ¶
func CreateFileContent ¶ added in v1.14.0
func GetListByCmdPipes ¶
func GetListByCmdPipes(ctx context.Context, cmdLines []*OsCommandLine) ([]string, error)
func GetResourceWithLabel ¶ added in v1.17.0
func WriteToFile ¶
Types ¶
type OsCommandLine ¶
Click to show internal directories.
Click to hide internal directories.