func NewFakeControllerExpectationsLookup(ttl time.Duration) (*ControllerExpectations, *testingclock.FakeClock) { … }
func newReplicationController(replicas int) *v1.ReplicationController { … }
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) { … }