Documentation ¶
Index ¶
- func NewController() controller.Controller
- type AllowedSyscallsChangedPredicate
- type OutputProfile
- type Reconciler
- func (r *Reconciler) Healthz(*http.Request) error
- func (r *Reconciler) Name() string
- func (r *Reconciler) Reconcile(_ context.Context, req reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) SchemeBuilder() *scheme.Builder
- func (r *Reconciler) Setup(ctx 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 OutputProfile ¶
type OutputProfile struct { DefaultAction seccomp.Action `json:"defaultAction"` Architectures []seccompprofileapi.Arch `json:"architectures,omitempty"` ListenerPath string `json:"listenerPath,omitempty"` ListenerMetadata string `json:"listenerMetadata,omitempty"` Syscalls []*seccompprofileapi.Syscall `json:"syscalls,omitempty"` Flags []*seccompprofileapi.Flag `json:"flags,omitempty"` }
OutputProfile represents the on-disk form of the SeccompProfile.
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) 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.