Documentation ¶
Index ¶
- Constants
- func RunTests(conf instanceRunConf) (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 VSphereTestRunner
Constants ¶
View Source
const ( MaxHardwarePerE2ETestEnvVar = "T_TINKERBELL_MAX_HARDWARE_PER_TEST" TinkerbellDefaultMaxHardwarePerE2ETest = 4 )
Variables ¶
This section is empty.
Functions ¶
func RunTestsInParallel ¶
func RunTestsInParallel(conf ParallelRunConf) error
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 ParallelRunConf struct { TestInstanceConfigFile string MaxInstances int MaxConcurrentTests int InstanceProfileName string StorageBucket string JobId string Regex string TestsToSkip []string BundlesOverride bool CleanupVms bool TestReportFolder string BranchName string BaremetalBranchName string Logger logr.Logger }
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 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 }
Click to show internal directories.
Click to hide internal directories.