kubernetes/pkg/controller/deployment/util/deployment_util_test.go

func newDControllerRef(d *apps.Deployment) *metav1.OwnerReference {}

// generateRS creates a replica set, with the input deployment's template as its template
func generateRS(deployment apps.Deployment) apps.ReplicaSet {}

func randomUID() types.UID {}

// generateDeployment creates a deployment, with the input image as its template
func generateDeployment(image string) apps.Deployment {}

func generatePodTemplateSpec(name, nodeName string, annotations, labels map[string]string) v1.PodTemplateSpec {}

func TestEqualIgnoreHash(t *testing.T) {}

func TestFindNewReplicaSet(t *testing.T) {}

func TestFindOldReplicaSets(t *testing.T) {}

func TestGetReplicaCountForReplicaSets(t *testing.T) {}

func TestResolveFenceposts(t *testing.T) {}

func TestNewRSNewReplicas(t *testing.T) {}

var condProgressing

var condProgressing2

var condAvailable

var status

func TestGetCondition(t *testing.T) {}

func TestSetCondition(t *testing.T) {}

func TestRemoveCondition(t *testing.T) {}

func TestDeploymentComplete(t *testing.T) {}

func TestDeploymentProgressing(t *testing.T) {}

func TestDeploymentTimedOut(t *testing.T) {}

func TestMaxUnavailable(t *testing.T) {}

func TestGetNonNegativeInt32FromAnnotation(t *testing.T) {}

// Set of simple tests for annotation related util functions
func TestAnnotationUtils(t *testing.T) {}

func TestReplicasAnnotationsNeedUpdate(t *testing.T) {}

func TestGetDeploymentsForReplicaSet(t *testing.T) {}

func TestMinAvailable(t *testing.T) {}

func TestGetReplicaSetFraction(t *testing.T) {}