Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func CreateTestingNamespace(baseName string, apiserver *httptest.Server, t *testing.T) *v1.Namespace + func DefaultEtcdOptions() *options.EtcdOptions + func DefaultOpenAPIConfig() *openapicommon.Config + func DeleteTestingNamespace(ns *v1.Namespace, apiserver *httptest.Server, t *testing.T) + func EtcdMain(tests func() int) + func GetEtcdURL() string + func NewIntegrationTestMasterConfig() *master.Config + func NewIntegrationTestMasterConfigWithOptions(opts *MasterConfigOptions) *master.Config + func NewIntegrationTestNodePreparer(client clientset.Interface, countToStrategy []testutils.CountToStrategy, ...) testutils.TestNodePreparer + func NewMasterConfig() *master.Config + func NewMasterConfigWithOptions(opts *MasterConfigOptions) *master.Config + func NewSingleContentTypeSerializer(scheme *runtime.Scheme, info runtime.SerializerInfo) runtime.StorageSerializer + func SharedEtcd() *storagebackend.Config + func StartTestServer(t *testing.T, stopCh <-chan struct{}, setup TestServerSetup) (client.Interface, *rest.Config) + 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 MasterConfigOptions struct + EtcdOptions *options.EtcdOptions + 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 TestServerSetup struct + ModifyServerConfig func(*master.Config) + ModifyServerRunOptions func(*options.ServerRunOptions)