Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdOnce ¶ added in v0.0.15
Types ¶
type BasePrinter ¶ added in v0.0.15
type BasePrinter struct {
// contains filtered or unexported fields
}
func (*BasePrinter) PrintSummary ¶ added in v0.0.15
func (bp *BasePrinter) PrintSummary()
type OnceFlags ¶ added in v0.0.15
type OnceFlags struct {
RunResultsFlags *genericclioptions.RunResultFlags
}
func NewOnceFlags ¶ added in v0.0.15
func NewOnceFlags() *OnceFlags
The defaults are determined here
type OnceOptions ¶ added in v0.0.15
type OnceOptions struct { Factory util.Factory Streams *genericclioptions.IOStreams ResultOutputFormat string }
func (*OnceOptions) Run ¶ added in v0.0.15
func (r *OnceOptions) Run(ctx context.Context, args []string) error
func (*OnceOptions) Validate ¶ added in v0.0.15
func (r *OnceOptions) Validate(args []string) error
type Operations ¶ added in v0.0.15
func NewOperations ¶ added in v0.0.15
func NewOperations() Operations
type RawPrinter ¶ added in v0.0.15
type RawPrinter struct {
BasePrinter
}
func (*RawPrinter) CollectData ¶ added in v0.0.15
func (rp *RawPrinter) CollectData(result *runnerpb.Once_RunResult)
type ReconcilerPrinter ¶ added in v0.0.15
type ReconcilerPrinter struct {
BasePrinter
}
func (*ReconcilerPrinter) CollectData ¶ added in v0.0.15
func (rp *ReconcilerPrinter) CollectData(result *runnerpb.Once_RunResult)
type ReconcilerResource ¶ added in v0.0.15
type ReconcilerResource struct { Reconcilername string Group string Kind string Namespace string Name string }
func (ReconcilerResource) ResourceNameString ¶ added in v0.0.15
func (r ReconcilerResource) ResourceNameString() string
type ResourcePrinter ¶ added in v0.0.15
type ResourcePrinter struct {
BasePrinter
}
func (*ResourcePrinter) CollectData ¶ added in v0.0.15
func (rp *ResourcePrinter) CollectData(result *runnerpb.Once_RunResult)
type SummaryPrinter ¶ added in v0.0.15
type SummaryPrinter interface { CollectData(result *runnerpb.Once_RunResult) PrintSummary() }
func NewRawPrinter ¶ added in v0.0.15
func NewRawPrinter() SummaryPrinter
func NewReconcilerPrinter ¶ added in v0.0.15
func NewReconcilerPrinter() SummaryPrinter
func NewResourcePrinter ¶ added in v0.0.15
func NewResourcePrinter() SummaryPrinter
Click to show internal directories.
Click to hide internal directories.