Documentation ¶
Index ¶
- func NewController() controller.Controller
- type AllowedSyscallsChangedPredicate
- type Reconciler
- func (r *Reconciler) Healthz(*http.Request) error
- func (r *Reconciler) Name() string
- func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) SchemeBuilder() *scheme.Builder
- func (r *Reconciler) Setup(_ context.Context, mgr ctrl.Manager, met *metrics.Metrics) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶ added in v0.4.0
func NewController() controller.Controller
NewController returns a new empty controller instance.
Types ¶
type AllowedSyscallsChangedPredicate ¶ added in v0.4.3
AllowedSyscallsChangedPredicate implements a update predicate function on SPOD's AllowedSyscalls changed.
func (AllowedSyscallsChangedPredicate) Update ¶ added in v0.4.3
func (AllowedSyscallsChangedPredicate) Update(e event.UpdateEvent) bool
Update implements default update event filter for checking SPOD's AllowedSyscalls change.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
A Reconciler reconciles seccomp profiles.
func (*Reconciler) Healthz ¶ added in v0.4.0
func (r *Reconciler) Healthz(*http.Request) error
Healthz is the liveness probe endpoint of the controller.
func (*Reconciler) Name ¶ added in v0.4.0
func (r *Reconciler) Name() string
Name returns the name of the controller.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile reconciles a SeccompProfile.
func (*Reconciler) SchemeBuilder ¶ added in v0.4.0
func (r *Reconciler) SchemeBuilder() *scheme.Builder
SchemeBuilder returns the API scheme of the controller.
Click to show internal directories.
Click to hide internal directories.