Documentation ¶
Index ¶
- type Container
- func (c *Container) Build(buildargs ...string) error
- func (c *Container) Run(runargs ...string) error
- func (c *Container) RunContext(ctx context.Context, runargs ...string) error
- func (c *Container) Start(runargs ...string) error
- func (c *Container) StartContext(ctx context.Context, runargs ...string) error
- func (c *Container) Wait() error
- type TelemetryTest
- type TelemetryTester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelemetryTest ¶
type TelemetryTest interface { // Build the container used for testing. Returns the imageID // of the container image or the empty string to not filter // telemetry to containers running the built image. BuildContainer(t *testing.T) string // Run the container used for testing. RunContainer(t *testing.T) // create and return telemetry subscription to use for the test CreateSubscription(t *testing.T) *api.Subscription // return true to keep going, false if done HandleTelemetryEvent(t *testing.T, te *api.TelemetryEvent) bool }
type TelemetryTester ¶
type TelemetryTester struct {
// contains filtered or unexported fields
}
func NewTelemetryTester ¶
func NewTelemetryTester(tt TelemetryTest) *TelemetryTester
func (*TelemetryTester) RunTest ¶
func (tt *TelemetryTester) RunTest(t *testing.T)
Click to show internal directories.
Click to hide internal directories.