fake

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func (r *Runner) GetFinalizer() (string, bool)

GetFinalizer - gets the fake finalizer.

func (*Runner) GetManageStatus

func (r *Runner) GetManageStatus() bool

GetManageStatus - get managestatus.

func (*Runner) GetReconcilePeriod

func (r *Runner) GetReconcilePeriod() (time.Duration, bool)

GetReconcilePeriod - new reconcile period.

func (*Runner) GetWatchClusterScopedResources

func (r *Runner) GetWatchClusterScopedResources() bool

GetWatchClusterScopedResources - get watchClusterScopedResources.

func (*Runner) GetWatchDependentResources

func (r *Runner) GetWatchDependentResources() bool

GetWatchDependentResources - get watchDependentResources.

func (*Runner) Run

Run - runs the fake runner.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL