Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const DefaultTimeout + const TestRCManifest + func CreateTestingNamespace(baseName string, apiserver *httptest.Server, t *testing.T) *v1.Namespace + func DeleteTestingNamespace(ns *v1.Namespace, apiserver *httptest.Server, t *testing.T) + func EtcdMain(tests func() int) + func FindFreeLocalPort() (int, error) + func GetEtcdURL() string + func GetPauseImageName(c clientset.Interface) string + func GetServerArchitecture(c clientset.Interface) string + func NewIntegrationTestMasterConfig() *master.Config + func NewIntegrationTestNodePreparer(client clientset.Interface, countToStrategy []testutils.CountToStrategy, ...) testutils.TestNodePreparer + func NewMasterConfig() *master.Config + func NewSingleContentTypeSerializer(scheme *runtime.Scheme, info runtime.SerializerInfo) runtime.StorageSerializer + func RCFromManifest(fileName string) *v1.ReplicationController + func RunParallel(task Task, numTasks, numWorkers int) + func ScaleRC(name, ns string, replicas int32, clientset internalclientset.Interface) (*api.ReplicationController, error) + func StopRC(rc *v1.ReplicationController, clientset internalclientset.Interface) error + type CloseFunc func() + func RunAMaster(masterConfig *master.Config) (*master.Master, *httptest.Server, CloseFunc) + func RunAMasterUsingServer(masterConfig *master.Config, s *httptest.Server, masterReceiver MasterReceiver) (*master.Master, *httptest.Server, CloseFunc) + type Config struct + Burst int + MasterConfig *master.Config + QPS float32 + StartReplicationManager bool + type IntegrationTestNodePreparer struct + func (p *IntegrationTestNodePreparer) CleanupNodes() error + func (p *IntegrationTestNodePreparer) PrepareNodes() error + type MasterComponents struct + ApiServer *httptest.Server + ClientSet clientset.Interface + CloseFn CloseFunc + ControllerManager *replicationcontroller.ReplicationManager + KubeMaster *master.Master + func NewMasterComponents(c *Config) *MasterComponents + func (m *MasterComponents) Stop(apiServer, rcManager bool) + type MasterHolder struct + Initialized chan struct{} + M *master.Master + func (h *MasterHolder) SetMaster(m *master.Master) + type MasterReceiver interface + SetMaster func(m *master.Master) + type Task func(id int) error