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

package replicaset

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

Index

Package Files

fixtures.go rest.go wait.go

func NewReplicaSet Uses

func NewReplicaSet(name, namespace string, replicas int32, podLabels map[string]string, imageName, image string) *appsv1.ReplicaSet

NewReplicaSet returns a new ReplicaSet.

func RunReplicaSet Uses

func RunReplicaSet(config testutils.ReplicaSetConfig) error

RunReplicaSet launches (and verifies correctness) of a replicaset.

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 WaitForReplicaSetDesiredReplicas Uses

func WaitForReplicaSetDesiredReplicas(rsClient appsclient.ReplicaSetsGetter, replicaSet *appsv1.ReplicaSet) error

WaitForReplicaSetDesiredReplicas waits until the replicaset has desired number of replicas.

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 WaitForReplicaSetTargetSpecReplicas Uses

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

WaitForReplicaSetTargetSpecReplicas waits for .spec.replicas of a RS to equal targetReplicaNum

Package replicaset imports 10 packages (graph) and is imported by 79 packages. Updated 2019-11-22. Refresh now. Tools for package owners.