const ExpectationsTimeout …
const SlowStartInitialBatchSize …
var UpdateTaintBackoff …
var UpdateLabelBackoff …
var KeyFunc …
var podPhaseToOrdinal …
type ResyncPeriodFunc …
func NoResyncPeriodFunc() time.Duration { … }
func StaticResyncPeriodFunc(resyncPeriod time.Duration) ResyncPeriodFunc { … }
var ExpKeyFunc …
type ControllerExpectationsInterface …
type ControllerExpectations …
func (r *ControllerExpectations) GetExpectations(controllerKey string) (*ControlleeExpectations, bool, error) { … }
func (r *ControllerExpectations) DeleteExpectations(logger klog.Logger, controllerKey string) { … }
func (r *ControllerExpectations) SatisfiedExpectations(logger klog.Logger, controllerKey string) bool { … }
func (exp *ControlleeExpectations) isExpired() bool { … }
func (r *ControllerExpectations) SetExpectations(logger klog.Logger, controllerKey string, add, del int) error { … }
func (r *ControllerExpectations) ExpectCreations(logger klog.Logger, controllerKey string, adds int) error { … }
func (r *ControllerExpectations) ExpectDeletions(logger klog.Logger, controllerKey string, dels int) error { … }
func (r *ControllerExpectations) LowerExpectations(logger klog.Logger, controllerKey string, add, del int) { … }
func (r *ControllerExpectations) RaiseExpectations(logger klog.Logger, controllerKey string, add, del int) { … }
func (r *ControllerExpectations) CreationObserved(logger klog.Logger, controllerKey string) { … }
func (r *ControllerExpectations) DeletionObserved(logger klog.Logger, controllerKey string) { … }
type ControlleeExpectations …
func (e *ControlleeExpectations) Add(add, del int64) { … }
func (e *ControlleeExpectations) Fulfilled() bool { … }
func (e *ControlleeExpectations) GetExpectations() (int64, int64) { … }
func (e *ControlleeExpectations) MarshalLog() interface{ … }
func NewControllerExpectations() *ControllerExpectations { … }
var UIDSetKeyFunc …
type UIDSet …
type UIDTrackingControllerExpectations …
func (u *UIDTrackingControllerExpectations) GetUIDs(controllerKey string) sets.String { … }
func (u *UIDTrackingControllerExpectations) ExpectDeletions(logger klog.Logger, rcKey string, deletedKeys []string) error { … }
func (u *UIDTrackingControllerExpectations) DeletionObserved(logger klog.Logger, rcKey, deleteKey string) { … }
func (u *UIDTrackingControllerExpectations) DeleteExpectations(logger klog.Logger, rcKey string) { … }
func NewUIDTrackingControllerExpectations(ce ControllerExpectationsInterface) *UIDTrackingControllerExpectations { … }
const FailedCreatePodReason …
const SuccessfulCreatePodReason …
const FailedDeletePodReason …
const SuccessfulDeletePodReason …
type RSControlInterface …
type RealRSControl …
var _ …
func (r RealRSControl) PatchReplicaSet(ctx context.Context, namespace, name string, data []byte) error { … }
type ControllerRevisionControlInterface …
type RealControllerRevisionControl …
var _ …
func (r RealControllerRevisionControl) PatchControllerRevision(ctx context.Context, namespace, name string, data []byte) error { … }
type PodControlInterface …
type RealPodControl …
var _ …
func getPodsLabelSet(template *v1.PodTemplateSpec) labels.Set { … }
func getPodsFinalizers(template *v1.PodTemplateSpec) []string { … }
func getPodsAnnotationSet(template *v1.PodTemplateSpec) labels.Set { … }
func getPodsPrefix(controllerName string) string { … }
func validateControllerRef(controllerRef *metav1.OwnerReference) error { … }
func (r RealPodControl) CreatePods(ctx context.Context, namespace string, template *v1.PodTemplateSpec, controllerObject runtime.Object, controllerRef *metav1.OwnerReference) error { … }
func (r RealPodControl) CreatePodsWithGenerateName(ctx context.Context, namespace string, template *v1.PodTemplateSpec, controllerObject runtime.Object, controllerRef *metav1.OwnerReference, generateName string) error { … }
func (r RealPodControl) PatchPod(ctx context.Context, namespace, name string, data []byte) error { … }
func GetPodFromTemplate(template *v1.PodTemplateSpec, parentObject runtime.Object, controllerRef *metav1.OwnerReference) (*v1.Pod, error) { … }
func (r RealPodControl) createPods(ctx context.Context, namespace string, pod *v1.Pod, object runtime.Object) error { … }
func (r RealPodControl) DeletePod(ctx context.Context, namespace string, podID string, object runtime.Object) error { … }
type FakePodControl …
var _ …
func (f *FakePodControl) PatchPod(ctx context.Context, namespace, name string, data []byte) error { … }
func (f *FakePodControl) CreatePods(ctx context.Context, namespace string, spec *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference) error { … }
func (f *FakePodControl) CreatePodsWithGenerateName(ctx context.Context, namespace string, spec *v1.PodTemplateSpec, object runtime.Object, controllerRef *metav1.OwnerReference, generateNamePrefix string) error { … }
func (f *FakePodControl) DeletePod(ctx context.Context, namespace string, podID string, object runtime.Object) error { … }
func (f *FakePodControl) Clear() { … }
type ByLogging …
func (s ByLogging) Len() int { … }
func (s ByLogging) Swap(i, j int) { … }
func (s ByLogging) Less(i, j int) bool { … }
type ActivePods …
func (s ActivePods) Len() int { … }
func (s ActivePods) Swap(i, j int) { … }
func (s ActivePods) Less(i, j int) bool { … }
type ActivePodsWithRanks …
func (s ActivePodsWithRanks) Len() int { … }
func (s ActivePodsWithRanks) Swap(i, j int) { … }
func (s ActivePodsWithRanks) Less(i, j int) bool { … }
func afterOrZero(t1, t2 *metav1.Time) bool { … }
func logarithmicRankDiff(t1, t2, now metav1.Time) int64 { … }
func podReadyTime(pod *v1.Pod) *metav1.Time { … }
func maxContainerRestarts(pod *v1.Pod) int { … }
func FilterActivePods(logger klog.Logger, pods []*v1.Pod) []*v1.Pod { … }
func FilterTerminatingPods(pods []*v1.Pod) []*v1.Pod { … }
func CountTerminatingPods(pods []*v1.Pod) int32 { … }
func IsPodActive(p *v1.Pod) bool { … }
func IsPodTerminating(p *v1.Pod) bool { … }
func FilterActiveReplicaSets(replicaSets []*apps.ReplicaSet) []*apps.ReplicaSet { … }
type filterRS …
func FilterReplicaSets(RSes []*apps.ReplicaSet, filterFn filterRS) []*apps.ReplicaSet { … }
func PodKey(pod *v1.Pod) string { … }
type ControllersByCreationTimestamp …
func (o ControllersByCreationTimestamp) Len() int { … }
func (o ControllersByCreationTimestamp) Swap(i, j int) { … }
func (o ControllersByCreationTimestamp) Less(i, j int) bool { … }
type ReplicaSetsByCreationTimestamp …
func (o ReplicaSetsByCreationTimestamp) Len() int { … }
func (o ReplicaSetsByCreationTimestamp) Swap(i, j int) { … }
func (o ReplicaSetsByCreationTimestamp) Less(i, j int) bool { … }
type ReplicaSetsBySizeOlder …
func (o ReplicaSetsBySizeOlder) Len() int { … }
func (o ReplicaSetsBySizeOlder) Swap(i, j int) { … }
func (o ReplicaSetsBySizeOlder) Less(i, j int) bool { … }
type ReplicaSetsBySizeNewer …
func (o ReplicaSetsBySizeNewer) Len() int { … }
func (o ReplicaSetsBySizeNewer) Swap(i, j int) { … }
func (o ReplicaSetsBySizeNewer) Less(i, j int) bool { … }
func AddOrUpdateTaintOnNode(ctx context.Context, c clientset.Interface, nodeName string, taints ...*v1.Taint) error { … }
func RemoveTaintOffNode(ctx context.Context, c clientset.Interface, nodeName string, node *v1.Node, taints ...*v1.Taint) error { … }
func PatchNodeTaints(ctx context.Context, c clientset.Interface, nodeName string, oldNode *v1.Node, newNode *v1.Node) error { … }
func ComputeHash(template *v1.PodTemplateSpec, collisionCount *int32) string { … }
func AddOrUpdateLabelsOnNode(kubeClient clientset.Interface, nodeName string, labelsToUpdate map[string]string) error { … }