// ByNameContainer returns a ReplicationController with specified name and container func ByNameContainer(name string, replicas int32, labels map[string]string, c v1.Container, gracePeriod *int64) *v1.ReplicationController { … } // DeleteRCAndWaitForGC deletes only the Replication Controller and waits for GC to delete the pods. func DeleteRCAndWaitForGC(ctx context.Context, c clientset.Interface, ns, name string) error { … } // ScaleRC scales Replication Controller to be desired size. func ScaleRC(ctx context.Context, clientset clientset.Interface, scalesGetter scaleclient.ScalesGetter, ns, name string, size uint, wait bool) error { … } // RunRC Launches (and verifies correctness) of a Replication Controller // and will wait for all pods it spawns to become "Running". func RunRC(ctx context.Context, config testutils.RCConfig) error { … }