kubernetes/test/e2e/common/util.go

type Suite

const E2E

const NodeE2E

var CurrentSuite

var PrePulledImages

var WindowsPrePulledImages

type testImagesStruct

var testImages

func init() {}

// SubstituteImageName replaces image name in content.
func SubstituteImageName(content string) string {}

func svcByName(name string, port int) *v1.Service {}

// NewSVCByName creates a service by name.
func NewSVCByName(c clientset.Interface, ns, name string) error {}

// NewRCByName creates a replication controller with a selector by name of name.
func NewRCByName(c clientset.Interface, ns, name string, replicas int32, gracePeriod *int64, containerArgs []string) (*v1.ReplicationController, error) {}

// RestartNodes restarts specific nodes.
func RestartNodes(c clientset.Interface, nodes []v1.Node) error {}

// rcByNamePort returns a ReplicationController with specified name and port
func rcByNamePort(name string, replicas int32, image string, containerArgs []string, port int, protocol v1.Protocol,
	labels map[string]string, gracePeriod *int64) *v1.ReplicationController {}