Versions in this module Expand all Collapse all v0 v0.13.0 Oct 4, 2019 Changes in this version + var InternalObjectPreventer = &illegalPackageSourceChecker + var InternalObjectPrinterErr = "a versioned object must be passed to a printer" + func GetObjectGroupKind(obj runtime.Object) schema.GroupKind + func IsInternalObjectError(err error) bool + type GoTemplatePrinter struct + func NewGoTemplatePrinter(tmpl []byte) (*GoTemplatePrinter, error) + func (p *GoTemplatePrinter) AllowMissingKeys(allow bool) + func (p *GoTemplatePrinter) PrintObj(obj runtime.Object, w io.Writer) error + type JSONPathPrinter struct + func NewJSONPathPrinter(tmpl string) (*JSONPathPrinter, error) + func (j *JSONPathPrinter) PrintObj(obj runtime.Object, w io.Writer) error + type JSONPrinter struct + func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error + type NamePrinter struct + Operation string + ShortOutput bool + func (p *NamePrinter) PrintObj(obj runtime.Object, w io.Writer) error + type ResourcePrinter interface + PrintObj func(runtime.Object, io.Writer) error + type ResourcePrinterFunc func(runtime.Object, io.Writer) error + func NewDiscardingPrinter() ResourcePrinterFunc + func (fn ResourcePrinterFunc) PrintObj(obj runtime.Object, w io.Writer) error + type TypeSetterPrinter struct + Delegate ResourcePrinter + Typer runtime.ObjectTyper + func NewTypeSetter(typer runtime.ObjectTyper) *TypeSetterPrinter + func (p *TypeSetterPrinter) PrintObj(obj runtime.Object, w io.Writer) error + func (p *TypeSetterPrinter) ToPrinter(delegate ResourcePrinter) ResourcePrinter + func (p *TypeSetterPrinter) WrapToPrinter(delegate ResourcePrinter, err error) (ResourcePrinter, error) + type YAMLPrinter struct + func (p *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error