Documentation ¶
Overview ¶
Package operator provides benchmark operator crd information and preriodically update
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchmarkScenarioWatcher ¶
type BenchmarkScenarioWatcher k8s.ResourceController
func New ¶
func New(opts ...Option) (BenchmarkScenarioWatcher, error)
type Option ¶
type Option func(*reconciler) error
func WithControllerName ¶
WithControllerName returns Option that sets r.name.
func WithManager ¶
WithManager returns Option that sets r.mgr.
func WithNamespaces ¶
WithNamespaces returns Option to set the namespace.
func WithOnErrorFunc ¶
WithOnErrorFunc returns Option that sets r.onError.
func WithOnReconcileFunc ¶
func WithOnReconcileFunc(f func(ctx context.Context, scenarioList map[string]v1.ValdBenchmarkScenario)) Option
WithOnReconcileFunc returns Option that sets r.onReconcile.
Click to show internal directories.
Click to hide internal directories.