cmdutil

package
v0.39.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FixDocs

func FixDocs(old, new string, c *cobra.Command)

FixDocs replaces instances of old with new in the docs for c

func PrintErrorStacktrace added in v0.34.0

func PrintErrorStacktrace(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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