kubernetes/pkg/controller/controller_utils_test.go

// NewFakeControllerExpectationsLookup creates a fake store for PodExpectations.
func NewFakeControllerExpectationsLookup(ttl time.Duration) (*ControllerExpectations, *testingclock.FakeClock) {}

func newReplicationController(replicas int) *v1.ReplicationController {}

// create count pods with the given phase for the given rc (same selectors and namespace), and add them to the store.
func newPodList(store cache.Store, count int, status v1.PodPhase, rc *v1.ReplicationController) *v1.PodList {}

func newReplicaSet(name string, replicas int, rsUuid types.UID) *apps.ReplicaSet {}

func TestControllerExpectations(t *testing.T) {}

func TestUIDExpectations(t *testing.T) {}

func TestCreatePodsWithGenerateName(t *testing.T) {}

func TestDeletePodsAllowsMissing(t *testing.T) {}

func TestCountTerminatingPods(t *testing.T) {}

func TestActivePodFiltering(t *testing.T) {}

func TestSortingActivePods(t *testing.T) {}

func TestSortingActivePodsWithRanks(t *testing.T) {}

func TestActiveReplicaSetsFiltering(t *testing.T) {}

func TestComputeHash(t *testing.T) {}

func TestRemoveTaintOffNode(t *testing.T) {}

func TestAddOrUpdateTaintOnNode(t *testing.T) {}