package
1.7.0-alpha.1
Repository: https://github.com/aliyuncontainerservice/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetNewTabWriter returns a tabwriter that translates tabbed columns in input into properly aligned text.
GetStandardPrinter takes a format type, an optional format argument.
NewCustomColumnsPrinterFromSpec creates a custom columns printer from a comma separated list of <header>:<jsonpath-field-spec> pairs.
NewCustomColumnsPrinterFromTemplate creates a custom columns printer from a template stream.
NewHumanReadablePrinter creates a HumanReadablePrinter.
No description provided by the author
No description provided by the author
NewVersionedPrinter wraps a printer to convert objects to a known API version prior to printing.
RelaxedJSONPathExpression attempts to be flexible with JSONPath expressions, it accepts: * metadata.name (no leading '.' or curly brances '{...}' * {metadata.name} (no leading '.') * .metadata.name (no curly braces '{...}') * {.metadata.name} (complete expression) And transforms them all into a valid jsonpath expression: {.metadata.name}.
No description provided by the author

# Structs

Column represents a user specified column.
CustomColumnPrinter is a printer that knows how to print arbitrary columns of data from templates specified in the `Columns` array.
DescriberSettings holds display configuration for each object describer to control what is printed.
ErrNoDescriber is a structured error indicating the provided object or objects cannot be described.
HumanReadablePrinter is an implementation of ResourcePrinter which attempts to provide more elegant output.
JSONPathPrinter is an implementation of ResourcePrinter which formats data with jsonpath expression.
JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON.
NamePrinter is an implementation of ResourcePrinter which outputs "resource/name" pair of an object.
No description provided by the author
TemplatePrinter is an implementation of ResourcePrinter which formats data with a Go Template.
VersionedPrinter takes runtime objects and ensures they are converted to a given API version prior to being passed to a nested printer.
YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML.

# Interfaces

Describer generates output for the named resource or an error if the output could not be generated.
ObjectDescriber is an interface for displaying arbitrary objects with extra information.
ResourcePrinter is an interface that knows how to print runtime objects.

# Type aliases

ResourcePrinterFunc is a function that can print objects.