Documentation ¶
Index ¶
- type Runner
- func (r *Runner) GetFinalizer() (string, bool)
- func (r *Runner) GetManageStatus() bool
- func (r *Runner) GetReconcilePeriod() (time.Duration, bool)
- func (r *Runner) GetWatchClusterScopedResources() bool
- func (r *Runner) GetWatchDependentResources() bool
- func (r *Runner) Run(_ string, u *unstructured.Unstructured, _ string) (runner.RunResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct { Finalizer string ReconcilePeriod time.Duration ManageStatus bool WatchDependentResources bool WatchClusterScopedResources bool // Used to send error if Run should fail. Error error // Job Events that will be sent back from the runs channel JobEvents []eventapi.JobEvent //Stdout standard out to reply if failure occurs. Stdout string }
Runner - implements the Runner interface for a GVK that's being watched.
func (*Runner) GetFinalizer ¶
GetFinalizer - gets the fake finalizer.
func (*Runner) GetManageStatus ¶
GetManageStatus - get managestatus.
func (*Runner) GetReconcilePeriod ¶
GetReconcilePeriod - new reconcile period.
func (*Runner) GetWatchClusterScopedResources ¶
GetWatchClusterScopedResources - get watchClusterScopedResources.
func (*Runner) GetWatchDependentResources ¶
GetWatchDependentResources - get watchDependentResources.
func (*Runner) Run ¶
func (r *Runner) Run(_ string, u *unstructured.Unstructured, _ string) (runner.RunResult, error)
Run - runs the fake runner.
Click to show internal directories.
Click to hide internal directories.