pod

package
v1.1.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPodInPdMembers

func IsPodInPdMembers(tc *v1alpha1.TidbCluster, pod *core.Pod, pdClient pdapi.PDClient) (bool, error)

func IsPodWithPDDeferDeletingAnnotations

func IsPodWithPDDeferDeletingAnnotations(pod *core.Pod) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL