Documentation ¶
Index ¶
- Variables
- func ExpectHaveKeys(m interface{}, keys ...string)
- func ExpectNoError(err error, explain ...interface{})
- func Fail(message string, callerSkip ...int)
- func Failf(format string, args ...interface{})
- func Logf(format string, args ...interface{})
- func RegisterFlagsAndParse()
- type Framework
- type TestContextType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TestContext *testContext
)
Functions ¶
func ExpectHaveKeys ¶
func ExpectHaveKeys(m interface{}, keys ...string)
func ExpectNoError ¶
func ExpectNoError(err error, explain ...interface{})
func RegisterFlagsAndParse ¶
func RegisterFlagsAndParse()
Types ¶
type Framework ¶
type Framework struct { Ctx context.Context Client client.Client KubeConfigFile string Namespace string Scheme *runtime.Scheme // contains filtered or unexported fields }
func NewDefaultFramework ¶
func NewDefaultFramework(tc *testContext) *Framework
type TestContextType ¶
func (*TestContextType) NewContext ¶
func (t *TestContextType) NewContext() (context.Context, context.CancelFunc)
func (*TestContextType) RegisterAndParse ¶
func (t *TestContextType) RegisterAndParse()
Click to show internal directories.
Click to hide internal directories.