Versions in this module Expand all Collapse all v0 v0.0.310 Jun 15, 2022 Changes in this version + const DefaultSingleCallTimeout + const PollInterval + func CreateTestWorkSpace(client client.Client, baseName string) string + func ExpectConsistOf(actual interface{}, extra interface{}, explain ...interface{}) + func ExpectEmpty(actual interface{}, explain ...interface{}) + func ExpectEqual(actual interface{}, extra interface{}, explain ...interface{}) + func ExpectError(err error, explain ...interface{}) + func ExpectHaveKey(actual interface{}, key interface{}, explain ...interface{}) + func ExpectNoError(err error, explain ...interface{}) + func ExpectNoErrorWithOffset(offset int, err error, explain ...interface{}) + func ExpectNotEqual(actual interface{}, extra interface{}, explain ...interface{}) + func Fail(msg string, callerSkip ...int) + func Failf(format string, args ...interface{}) + func FailfWithOffset(offset int, format string, args ...interface{}) + func Logf(format string, args ...interface{}) + func ParseFlags() + func PrunedStack(skip int) []byte + type Framework struct + BaseName string + Namespaces []string + Scheme *runtime.Scheme + Workspace string + func (f *Framework) AfterEach() + func (f *Framework) BeforeEach() + func (f *Framework) CreateNamespace(name string) string + func (f *Framework) GenericClient(userAgent string) client.Client + func (f *Framework) GetNamespaceNames() []string + func (f *Framework) GetScheme() *runtime.Scheme + func (f *Framework) KubeSphereSystemNamespace() string + func (f *Framework) RestClient(userAgent string) *restclient.RestClient + func (f *Framework) TestWorkSpaceName() string + type KubeSphereFramework interface + CreateNamespace func(name string) string + GenericClient func(userAgent string) client.Client + GetNamespaceNames func() []string + GetScheme func() *runtime.Scheme + KubeSphereSystemNamespace func() string + RestClient func(userAgent string) *restclient.RestClient + TestWorkSpaceName func() string + func NewKubeSphereFramework(baseName string) KubeSphereFramework + type TestContextType struct + Host string + InMemoryTest bool + Password string + Username string + var TestContext *TestContextType = &TestContextType{}