exec

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(cmd *exec.Cmd) (string, error)

func RunCommandCaptureStdOut

func RunCommandCaptureStdOut(cmd *exec.Cmd) ([]byte, error)

func StartCommand

func StartCommand(cmd *exec.Cmd) (int, error)

Types

type Command

type Command struct {
	Kubectl string
	ArgoCD  string
	CR      string
}

func NewCommand

func NewCommand(binaries map[string]string) *Command

Jump to

Keyboard shortcuts

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