scenario

package
v1.26.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scenario

type Scenario struct {
	ClusterFlavor string
	K8sVersion    string
	// contains filtered or unexported fields
}

Scenario defines the environment that will be used for testing

func New

func New(
	rbac bool,
	unprivileged bool,
	integrationImageRepository,
	integrationImageTag,
	ksmVersion string,
	twoKSMInstances bool,
	k8sServerInfo *version.Info,
	clusterFlavor string,
	K8sVersion string,
) Scenario

New returns a new Scenario

func (Scenario) GetSchemasForJob

func (s Scenario) GetSchemasForJob(job string) jsonschema.EventTypeToSchemaFilename

GetSchemasForJob returns the json schemas that should be use to match the test scenario.

func (Scenario) String

func (s Scenario) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL