Documentation
¶
Index ¶
- func RunTests(conf instanceRunConf, inventoryCatalogue map[string]*hardwareCatalogue) (testInstanceID string, testCommandResult *testCommandResult, err error)
- func RunTestsInParallel(conf ParallelRunConf) error
- type E2EIPManager
- type E2ESession
- type Ec2TestRunner
- type ParallelRunConf
- type TestInfraConfig
- type TestRunner
- type TestRunnerType
- type TinkerbellTest
- type VSphereTestRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestsInParallel ¶
func RunTestsInParallel(conf ParallelRunConf) error
RunTestsInParallel Run Tests in parallel by spawning multiple admin machines.
Types ¶
type E2EIPManager ¶ added in v0.6.1
type E2EIPManager struct {
// contains filtered or unexported fields
}
type E2ESession ¶
type E2ESession struct {
// contains filtered or unexported fields
}
func (*E2ESession) TestGithubClient ¶ added in v0.9.2
func (e *E2ESession) TestGithubClient(ctx context.Context, githubToken string, owner string, repository string, personal bool) (git.ProviderClient, error)
type Ec2TestRunner ¶ added in v0.9.2
type ParallelRunConf ¶
type TestInfraConfig ¶ added in v0.9.2
type TestInfraConfig struct {
Ec2TestRunner `yaml:"ec2,omitempty"`
VSphereTestRunner `yaml:"vSphere,omitempty"`
}
func NewTestRunnerConfigFromFile ¶ added in v0.9.2
func NewTestRunnerConfigFromFile(logger logr.Logger, configFile string) (*TestInfraConfig, error)
type TestRunner ¶ added in v0.9.2
type TestRunner interface {
// contains filtered or unexported methods
}
type TestRunnerType ¶ added in v0.9.2
type TestRunnerType string
const ( Ec2TestRunnerType TestRunnerType = "ec2" VSphereTestRunnerType TestRunnerType = "vSphere" )
type TinkerbellTest ¶ added in v0.17.0
TinkerbellTest maps each Tinkbell test with the hardware count needed for the test.
type VSphereTestRunner ¶ added in v0.9.2
type VSphereTestRunner struct {
ActivationId string
Url string `yaml:"url"`
Insecure bool `yaml:"insecure"`
Library string `yaml:"library"`
Template string `yaml:"template"`
Datacenter string `yaml:"datacenter"`
Datastore string `yaml:"datastore"`
ResourcePool string `yaml:"resourcePool"`
Network string `yaml:"network"`
Folder string `yaml:"folder"`
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.