kubernetes: k8s.io/kubernetes/test/e2e/framework/rc Index | Files

package rc

import "k8s.io/kubernetes/test/e2e/framework/rc"


Package Files


func ByNameContainer Uses

func ByNameContainer(name string, replicas int32, labels map[string]string, c v1.Container,
    gracePeriod *int64) *v1.ReplicationController

ByNameContainer returns a ReplicationController with specified name and container

func DeleteRCAndWaitForGC Uses

func DeleteRCAndWaitForGC(c clientset.Interface, ns, name string) error

DeleteRCAndWaitForGC deletes only the Replication Controller and waits for GC to delete the pods.

func RunRC Uses

func RunRC(config testutils.RCConfig) error

RunRC Launches (and verifies correctness) of a Replication Controller and will wait for all pods it spawns to become "Running".

func ScaleRC Uses

func ScaleRC(clientset clientset.Interface, scalesGetter scaleclient.ScalesGetter, ns, name string, size uint, wait bool) error

ScaleRC scales Replication Controller to be desired size.

Package rc imports 11 packages (graph) and is imported by 183 packages. Updated 2020-04-02. Refresh now. Tools for package owners.