const pollInterval …
const pollTimeout …
const fakeContainerName …
const fakeImage …
var pauseFn …
var resumeFn …
type deploymentTester …
func testLabels() map[string]string { … }
func newDeployment(name, ns string, replicas int32) *apps.Deployment { … }
func dcSetup(ctx context.Context, t *testing.T) (kubeapiservertesting.TearDownFunc, *replicaset.ReplicaSetController, *deployment.DeploymentController, informers.SharedInformerFactory, clientset.Interface) { … }
func dcSimpleSetup(t *testing.T) (kubeapiservertesting.TearDownFunc, clientset.Interface) { … }
func runControllersAndInformers(t *testing.T, rm *replicaset.ReplicaSetController, dc *deployment.DeploymentController, informers informers.SharedInformerFactory) func() { … }
func addPodConditionReady(pod *v1.Pod, time metav1.Time) { … }
func (d *deploymentTester) waitForDeploymentRevisionAndImage(revision, image string) error { … }
func markPodReady(c clientset.Interface, ns string, pod *v1.Pod) error { … }
func (d *deploymentTester) markUpdatedPodsReady(wg *sync.WaitGroup) { … }
func (d *deploymentTester) deploymentComplete() (bool, error) { … }
func (d *deploymentTester) waitForDeploymentCompleteAndCheckRolling() error { … }
func (d *deploymentTester) waitForDeploymentComplete() error { … }
func (d *deploymentTester) waitForDeploymentCompleteAndCheckRollingAndMarkPodsReady() error { … }
func (d *deploymentTester) waitForDeploymentCompleteAndMarkPodsReady() error { … }
func (d *deploymentTester) updateDeployment(applyUpdate testutil.UpdateDeploymentFunc) (*apps.Deployment, error) { … }
func (d *deploymentTester) waitForObservedDeployment(desiredGeneration int64) error { … }
func (d *deploymentTester) getNewReplicaSet() (*apps.ReplicaSet, error) { … }
func (d *deploymentTester) expectNoNewReplicaSet() error { … }
func (d *deploymentTester) expectNewReplicaSet() (*apps.ReplicaSet, error) { … }
func (d *deploymentTester) updateReplicaSet(name string, applyUpdate testutil.UpdateReplicaSetFunc) (*apps.ReplicaSet, error) { … }
func (d *deploymentTester) waitForDeploymentUpdatedReplicasGTE(minUpdatedReplicas int32) error { … }
func (d *deploymentTester) waitForDeploymentWithCondition(reason string, condType apps.DeploymentConditionType) error { … }
func (d *deploymentTester) listUpdatedPods() ([]v1.Pod, error) { … }
func (d *deploymentTester) waitRSStable(replicaset *apps.ReplicaSet) error { … }
func (d *deploymentTester) scaleDeployment(newReplicas int32) error { … }
func (d *deploymentTester) waitForReadyReplicas() error { … }
func (d *deploymentTester) markUpdatedPodsReadyWithoutComplete() error { … }
func (d *deploymentTester) checkDeploymentStatusReplicasFields(replicas, updatedReplicas, readyReplicas, availableReplicas, unavailableReplicas int32) error { … }