Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestContext ¶
type TestContext struct {
*resources.Resources
*conditions.Condition
// contains filtered or unexported fields
}
TestContext holds test-specific context. It can be extended on a per-test basis to hold additional information related to the test. Wraps resources.Resources and conditions.Condition.
func NewTestContext ¶
func NewTestContext(ctx context.Context, cfg *envconf.Config) (*TestContext, error)
NewTestContext creates a new test context that can be used to create and interact with kubernetes resources from inside a test.
Click to show internal directories.
Click to hide internal directories.