kubernetes: k8s.io/kubernetes/test/e2e/framework/replicaset Index | Files

package replicaset

import "k8s.io/kubernetes/test/e2e/framework/replicaset"

Index

Package Files

rest.go wait.go

func UpdateReplicaSetWithRetries Uses

func UpdateReplicaSetWithRetries(c clientset.Interface, namespace, name string, applyUpdate testutils.UpdateReplicaSetFunc) (*appsv1.ReplicaSet, error)

UpdateReplicaSetWithRetries updates replicaset template with retries.

func WaitForReadyReplicaSet Uses

func WaitForReadyReplicaSet(c clientset.Interface, ns, name string) error

WaitForReadyReplicaSet waits until the replicaset has all of its replicas ready.

func WaitForReplicaSetTargetAvailableReplicas Uses

func WaitForReplicaSetTargetAvailableReplicas(c clientset.Interface, replicaSet *appsv1.ReplicaSet, targetReplicaNum int32) error

WaitForReplicaSetTargetAvailableReplicas waits for .status.availableReplicas of a RS to equal targetReplicaNum

func WaitForReplicaSetTargetAvailableReplicasWithTimeout Uses

func WaitForReplicaSetTargetAvailableReplicasWithTimeout(c clientset.Interface, replicaSet *appsv1.ReplicaSet, targetReplicaNum int32, timeout time.Duration) error

WaitForReplicaSetTargetAvailableReplicasWithTimeout waits for .status.availableReplicas of a RS to equal targetReplicaNum with given timeout.

Package replicaset imports 9 packages (graph) and is imported by 76 packages. Updated 2020-02-09. Refresh now. Tools for package owners.