Documentation ¶
Index ¶
- func SetupTestEnvironment(proto string, config libruntime.RuntimeConfig, clean bool) (libruntime.Runtime, error)
- type BasicContainerTest
- func (t *BasicContainerTest) RunTestCases(ctx context.Context, testcases, args []string) error
- func (t *BasicContainerTest) TestCreateContainers(ctx context.Context, containerName, imageName string) error
- func (t *BasicContainerTest) TestCreateRunningContainers(ctx context.Context, containerName, imageName string) error
- func (t *BasicContainerTest) TestCreateRunningNWaitContainers(ctx context.Context, containerName, imageName string) error
- func (t *BasicContainerTest) TestPullContainerImage(ctx context.Context, imageName string) error
- type ProfileContainerTest
- func (t *ProfileContainerTest) RunTestCases(ctx context.Context, testcases, args []string) error
- func (t *ProfileContainerTest) TestCreateRunningContainers(ctx context.Context, containerName, imageName string) error
- func (t *ProfileContainerTest) TestPullContainerImage(ctx context.Context, imageName string) error
- type StressTest
- type Testcases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupTestEnvironment ¶
func SetupTestEnvironment(proto string, config libruntime.RuntimeConfig, clean bool) (libruntime.Runtime, error)
SetupTestEnvironment setups server and client for container runtime
Types ¶
type BasicContainerTest ¶
type BasicContainerTest struct {
Runtime libruntime.Runtime
}
func (*BasicContainerTest) RunTestCases ¶
func (t *BasicContainerTest) RunTestCases(ctx context.Context, testcases, args []string) error
func (*BasicContainerTest) TestCreateContainers ¶
func (t *BasicContainerTest) TestCreateContainers(ctx context.Context, containerName, imageName string) error
func (*BasicContainerTest) TestCreateRunningContainers ¶
func (t *BasicContainerTest) TestCreateRunningContainers(ctx context.Context, containerName, imageName string) error
func (*BasicContainerTest) TestCreateRunningNWaitContainers ¶
func (t *BasicContainerTest) TestCreateRunningNWaitContainers(ctx context.Context, containerName, imageName string) error
func (*BasicContainerTest) TestPullContainerImage ¶
func (t *BasicContainerTest) TestPullContainerImage(ctx context.Context, imageName string) error
type ProfileContainerTest ¶
type ProfileContainerTest struct {
Runtime libruntime.Runtime
}
func (*ProfileContainerTest) RunTestCases ¶
func (t *ProfileContainerTest) RunTestCases(ctx context.Context, testcases, args []string) error
func (*ProfileContainerTest) TestCreateRunningContainers ¶
func (t *ProfileContainerTest) TestCreateRunningContainers(ctx context.Context, containerName, imageName string) error
func (*ProfileContainerTest) TestPullContainerImage ¶
func (t *ProfileContainerTest) TestPullContainerImage(ctx context.Context, imageName string) error
type StressTest ¶
type StressTest struct {
Runtime libruntime.Runtime
}
func (*StressTest) RunTestCases ¶
func (t *StressTest) RunTestCases(ctx context.Context, testcases, args []string) error
func (*StressTest) TestContainerCreateDelete ¶
func (t *StressTest) TestContainerCreateDelete(ctx context.Context, parallelCount, loopCount int) error
func (*StressTest) TestImagePull ¶
Click to show internal directories.
Click to hide internal directories.