Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPodInPdMembers ¶
func IsPodWithPDDeferDeletingAnnotations ¶
check whether this pod have PD DeferDeleting Annotations
func IsStatefulSetUpgrading ¶
func IsStatefulSetUpgrading(set *v1.StatefulSet) bool
Types ¶
type PodAdmissionControl ¶
type PodAdmissionControl struct {
// contains filtered or unexported fields
}
func NewPodAdmissionControl ¶
func NewPodAdmissionControl(kubeCli kubernetes.Interface, operatorCli versioned.Interface, PdControl pdapi.PDControlInterface, informerFactory informers.SharedInformerFactory, kubeInformerFactory kubeinformers.SharedInformerFactory, recorder record.EventRecorder, extraServiceAccounts []string) *PodAdmissionControl
func (*PodAdmissionControl) AdmitPods ¶
func (pc *PodAdmissionControl) AdmitPods(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
Click to show internal directories.
Click to hide internal directories.