Documentation ¶
Index ¶
Constants ¶
View Source
const (
StackTraceOnErrors = "COBRA_STACK_TRACE_ON_ERRORS"
)
Variables ¶
View Source
var K8sSchemaPath string
K8sSchemaPath defines the path to the openAPI schema if we are reading from a file
View Source
var K8sSchemaSource string
K8sSchemaSource defines where we should look for the kubernetes openAPI schema
View Source
var StackOnError bool
StackOnError if true, will print a stack trace on failure.
Functions ¶
func DockerCmdAvailable ¶
func DockerCmdAvailable() error
DockerCmdAvailable runs `docker ps` to check that the docker command is available, and returns an error with installation instructions if it is not
func PrintErrorStacktrace ¶ added in v0.34.0
func PrintErrorStacktrace(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.