Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdObserve ¶
func NewCmdObserve(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdObserve creates the observe command.
Types ¶
type ColumnPrinter ¶
func NewVersionedColumnPrinter ¶
func NewVersionedColumnPrinter(printer ColumnPrinter, convertor runtime.ObjectConvertor, version runtime.GroupVersioner) ColumnPrinter
NewVersionedHumanReadablePrinter wraps a printer to convert objects to a known API version prior to printing.
type GoTemplateColumnPrinter ¶
type GoTemplateColumnPrinter struct {
// contains filtered or unexported fields
}
func NewGoTemplateArgumentPrinter ¶
func NewGoTemplateArgumentPrinter(includeNamespace, strict bool, templates ...string) (*GoTemplateColumnPrinter, error)
type JSONPathColumnPrinter ¶
type JSONPathColumnPrinter struct {
// contains filtered or unexported fields
}
func NewJSONPathArgumentPrinter ¶
func NewJSONPathArgumentPrinter(includeNamespace, strict bool, templates ...string) (*JSONPathColumnPrinter, error)
type ObserveOptions ¶
type ObserveOptions struct {
// contains filtered or unexported fields
}
func (*ObserveOptions) Run ¶
func (o *ObserveOptions) Run() error
func (*ObserveOptions) Validate ¶
func (o *ObserveOptions) Validate(args []string) error
type VersionedColumnPrinter ¶
type VersionedColumnPrinter struct {
// contains filtered or unexported fields
}
VersionedPrinter takes runtime objects and ensures they are converted to a given API version prior to being passed to a nested printer.
Click to show internal directories.
Click to hide internal directories.