Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func NewHandlerRunner(httpGetter kubetypes.HttpGetter, ...) kubecontainer.HandlerRunner + func NewPredicateAdmitHandler(getNodeAnyWayFunc getNodeAnyWayFuncType, ...) *predicateAdmitHandler + type AdmissionFailureHandler interface + HandleAdmissionFailure func(admitPod *v1.Pod, failureReasons []predicates.PredicateFailureReason) (bool, []predicates.PredicateFailureReason, error) + type AdmissionFailureHandlerStub struct + func NewAdmissionFailureHandlerStub() *AdmissionFailureHandlerStub + func (n *AdmissionFailureHandlerStub) HandleAdmissionFailure(admitPod *v1.Pod, failureReasons []predicates.PredicateFailureReason) (bool, []predicates.PredicateFailureReason, error) + type HandlerRunner struct + func (hr *HandlerRunner) Run(containerID kubecontainer.ContainerID, pod *v1.Pod, container *v1.Container, ...) (string, error) + type PodAdmitAttributes struct + OtherPods []*v1.Pod + Pod *v1.Pod + type PodAdmitHandler interface + Admit func(attrs *PodAdmitAttributes) PodAdmitResult + func NewAppArmorAdmitHandler(validator apparmor.Validator) PodAdmitHandler + func NewNoNewPrivsAdmitHandler(runtime kubecontainer.Runtime) PodAdmitHandler + func NewProcMountAdmitHandler(runtime kubecontainer.Runtime) PodAdmitHandler + type PodAdmitHandlers []PodAdmitHandler + func (handlers *PodAdmitHandlers) AddPodAdmitHandler(a PodAdmitHandler) + type PodAdmitResult struct + Admit bool + Message string + Reason string + type PodAdmitTarget interface + AddPodAdmitHandler func(a PodAdmitHandler) + type PodLifecycleTarget interface + type PodSyncHandler interface + ShouldEvict func(pod *v1.Pod) ShouldEvictResponse + type PodSyncHandlers []PodSyncHandler + func (handlers *PodSyncHandlers) AddPodSyncHandler(a PodSyncHandler) + type PodSyncLoopHandler interface + ShouldSync func(pod *v1.Pod) bool + type PodSyncLoopHandlers []PodSyncLoopHandler + func (handlers *PodSyncLoopHandlers) AddPodSyncLoopHandler(a PodSyncLoopHandler) + type PodSyncLoopTarget interface + AddPodSyncLoopHandler func(a PodSyncLoopHandler) + type PodSyncTarget interface + AddPodSyncHandler func(a PodSyncHandler) + type ShouldEvictResponse struct + Evict bool + Message string + Reason string