- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WrapToPrinter (0.2 sec)
-
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go
if p, err := f.JSONYamlPrintFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { return f.TypeSetterPrinter.WrapToPrinter(p, err) } } if f.NamePrintFlags != nil { if p, err := f.NamePrintFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { return f.TypeSetterPrinter.WrapToPrinter(p, err) } } if f.TemplatePrinterFlags != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/typesetter.go
func (p *TypeSetterPrinter) ToPrinter(delegate ResourcePrinter) ResourcePrinter { if p == nil { return delegate } p.Delegate = delegate return p } // WrapToPrinter wraps the common ToPrinter method func (p *TypeSetterPrinter) WrapToPrinter(delegate ResourcePrinter, err error) (ResourcePrinter, error) { if err != nil { return delegate, err } if p == nil { return delegate, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/output/output.go
return NewResourcePrinterWrapper(pf.TypeSetterPrinter.WrapToPrinter(p, err)) } } if pf.KubeTemplatePrintFlags != nil { if p, err := pf.KubeTemplatePrintFlags.ToPrinter(outputFormat); !genericclioptions.IsNoCompatiblePrinterError(err) { return NewResourcePrinterWrapper(pf.TypeSetterPrinter.WrapToPrinter(p, err)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 08:22:45 UTC 2024 - 8K bytes - Viewed (0)