Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Results ¶ added in v2.23.0
type Results struct { Options *types.Options Scenarios []ScenarioResult }
func MergeResults ¶ added in v2.23.0
func MergeResults(previous *ResultsFile, current *Results) *Results
func (*Results) HasFailures ¶ added in v2.23.0
func (*Results) PrintJUnitDetails ¶ added in v2.23.0
func (r *Results) PrintJUnitDetails()
func (*Results) PrintSummary ¶ added in v2.23.0
func (r *Results) PrintSummary()
func (*Results) WriteToFile ¶ added in v2.23.0
type ResultsFile ¶ added in v2.23.0
type ResultsFile struct { Configuration TestConfiguration `json:"configuration"` Results []ScenarioResult `json:"results"` }
func LoadResultsFile ¶ added in v2.23.0
func LoadResultsFile(filename string) (*ResultsFile, error)
type ScenarioResult ¶ added in v2.23.0
type ScenarioResult struct { CloudProvider kubermaticv1.ProviderType `json:"cloudProvider"` OperatingSystem providerconfig.OperatingSystem `json:"operatingSystem"` KubernetesRelease string `json:"kubernetesRelease"` KubernetesVersion semver.Semver `json:"kubernetesVersion"` KubermaticVersion string `json:"kubermaticVersion"` Duration time.Duration `json:"-"` DurationSeconds int `json:"durationInSeconds"` ClusterName string `json:"clusterName"` Status ScenarioStatus `json:"status"` Message string `json:"message"` // contains filtered or unexported fields }
func (*ScenarioResult) BetterThan ¶ added in v2.23.0
func (sr *ScenarioResult) BetterThan(other ScenarioResult) bool
func (*ScenarioResult) Equals ¶ added in v2.23.0
func (sr *ScenarioResult) Equals(other ScenarioResult) bool
func (*ScenarioResult) MatchesScenario ¶ added in v2.23.0
func (sr *ScenarioResult) MatchesScenario(scenario scenarios.Scenario) bool
func (*ScenarioResult) PrintJUnitDetails ¶ added in v2.23.0
func (r *ScenarioResult) PrintJUnitDetails()
type ScenarioStatus ¶ added in v2.23.0
type ScenarioStatus string
const ( ScenarioPassed ScenarioStatus = "passed" ScenarioFailed ScenarioStatus = "failed" ScenarioSkipped ScenarioStatus = "skipped" )
type TestConfiguration ¶ added in v2.23.0
type TestRunner ¶
type TestRunner struct {
// contains filtered or unexported fields
}
func NewKubeRunner ¶
func NewKubeRunner(opts *ctypes.Options, log *zap.SugaredLogger) *TestRunner
func (*TestRunner) SetupProject ¶
func (r *TestRunner) SetupProject(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.