Documentation ¶
Index ¶
- func CopyArtifactsFromPod(srcPath string, destPath string, podName string, namespace string, ...) error
- func ExecInContainer(podName string, container string, namespace string, command string) error
- func ExecuteBashCommand(command string) error
- func IsCommandAvailable(name string) bool
- func Untar(fileSource string, destination string) error
- func UntarAll(reader io.Reader, destDir, prefix string) error
- type CommandGroup
- type CommandGroups
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyArtifactsFromPod ¶
func CopyArtifactsFromPod(srcPath string, destPath string, podName string, namespace string, containerName string) error
CopyArtifactsFromPod copy files from a given pod to local directory where che-inspector it is executed
func ExecInContainer ¶
func ExecuteBashCommand ¶
func IsCommandAvailable ¶
Types ¶
type CommandGroup ¶
type CommandGroups ¶
type CommandGroups []CommandGroup
func (CommandGroups) Add ¶
func (g CommandGroups) Add(c *cobra.Command)
Click to show internal directories.
Click to hide internal directories.