exec

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package exec provides utility functions for executing shell commands.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Execute enables monkey-patching cmd execution for integration tests
	Execute = execute

	// Docker references to the docker binary
	Docker string
	// Helm references to the helm binary
	Helm string
	// Kind references to the kind binary
	Kind string
	// Kubectl references to the kubectl binary
	Kubectl string
)

Functions

func CheckBinaries

func CheckBinaries() error

CheckBinaries checks if the required binaries are installed and available on the PATH and returns an error if any are missing.

Types

type WriterStringer

type WriterStringer interface {
	String() string
	Write(p []byte) (n int, err error)
}

WriterStringer is an interface that combines the io.Writer and fmt.Stringer interfaces

Jump to

Keyboard shortcuts

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