Documentation
¶
Overview ¶
Package falco defines falco's controllers logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.4.0
type Option func(*Reconciler)
Option configures a Reconciler.
func WithLabelFilter ¶ added in v0.4.0
func WithLabelFilter(f instance.LabelFilter) Option
WithLabelFilter sets the label filter applied to generated resources.
type Reconciler ¶
type Reconciler struct {
client.Client
Scheme *runtime.Scheme
// NativeSidecar is a flag to enable the native sidecar.
NativeSidecar bool
// contains filtered or unexported fields
}
Reconciler reconciles a Falco object.
func NewReconciler ¶
func NewReconciler(cl client.Client, scheme *runtime.Scheme, recorder events.EventRecorder, nativeSidecar bool, opts ...Option) *Reconciler
NewReconciler creates a new Reconciler.
func (*Reconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.