var alwaysReady …
var noTimestamp …
func rs(name string, replicas int32, selector map[string]string, timestamp metav1.Time) *apps.ReplicaSet { … }
func newRSWithStatus(name string, specReplicas, statusReplicas int32, selector map[string]string) *apps.ReplicaSet { … }
func newDeployment(name string, replicas int32, revisionHistoryLimit *int32, maxSurge, maxUnavailable *intstr.IntOrString, selector map[string]string) *apps.Deployment { … }
func newReplicaSet(d *apps.Deployment, name string, replicas int32) *apps.ReplicaSet { … }
type fixture …
func (f *fixture) expectGetDeploymentAction(d *apps.Deployment) { … }
func (f *fixture) expectUpdateDeploymentStatusAction(d *apps.Deployment) { … }
func (f *fixture) expectUpdateDeploymentAction(d *apps.Deployment) { … }
func (f *fixture) expectCreateRSAction(rs *apps.ReplicaSet) { … }
func newFixture(t testing.TB) *fixture { … }
func (f *fixture) newController(ctx context.Context) (*DeploymentController, informers.SharedInformerFactory, error) { … }
func (f *fixture) runExpectError(ctx context.Context, deploymentName string, startInformers bool) { … }
func (f *fixture) run(ctx context.Context, deploymentName string) { … }
func (f *fixture) run_(ctx context.Context, deploymentName string, startInformers bool, expectError bool) { … }
func filterInformerActions(actions []core.Action) []core.Action { … }
func TestSyncDeploymentCreatesReplicaSet(t *testing.T) { … }
func TestSyncDeploymentDontDoAnythingDuringDeletion(t *testing.T) { … }
func TestSyncDeploymentDeletionRace(t *testing.T) { … }
func TestDontSyncDeploymentsWithEmptyPodSelector(t *testing.T) { … }
func TestReentrantRollback(t *testing.T) { … }
func TestPodDeletionEnqueuesRecreateDeployment(t *testing.T) { … }
func TestPodDeletionDoesntEnqueueRecreateDeployment(t *testing.T) { … }
func TestPodDeletionPartialReplicaSetOwnershipEnqueueRecreateDeployment(t *testing.T) { … }
func TestPodDeletionPartialReplicaSetOwnershipDoesntEnqueueRecreateDeployment(t *testing.T) { … }
func TestGetReplicaSetsForDeployment(t *testing.T) { … }
func TestGetReplicaSetsForDeploymentAdoptRelease(t *testing.T) { … }
func TestGetPodMapForReplicaSets(t *testing.T) { … }
func TestAddReplicaSet(t *testing.T) { … }
func TestAddReplicaSetOrphan(t *testing.T) { … }
func TestUpdateReplicaSet(t *testing.T) { … }
func TestUpdateReplicaSetOrphanWithNewLabels(t *testing.T) { … }
func TestUpdateReplicaSetChangeControllerRef(t *testing.T) { … }
func TestUpdateReplicaSetRelease(t *testing.T) { … }
func TestDeleteReplicaSet(t *testing.T) { … }
func TestDeleteReplicaSetOrphan(t *testing.T) { … }
func BenchmarkGetPodMapForDeployment(b *testing.B) { … }
func bumpResourceVersion(obj metav1.Object) { … }
func generatePodFromRS(rs *apps.ReplicaSet) *v1.Pod { … }