Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptConfig ¶
type OptConfig func(*Options)
func WithControllerName ¶
WithControllerName set the controller name.
func WithReconciler ¶
func WithReconciler(rc reconciler.PatrolReconciler) OptConfig
WithReconciler set the reconciler.
type Options ¶
type Options struct { Reconciler reconciler.PatrolReconciler Period time.Duration // contains filtered or unexported fields }
Options are the arguments for creating a new Patrol.
type Patroller ¶
type Patroller struct { Options // contains filtered or unexported fields }
func NewPatroller ¶
func NewPatroller(objectType client.Object, rc reconciler.PatrolReconciler, opts ...OptConfig) (*Patroller, error)
Click to show internal directories.
Click to hide internal directories.