test

package
v0.0.0-...-baf11bc Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultAzureEHRegion = "westeurope"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Broker   broker.Config
	Director director.Config
	Gardener gardener.Config

	TenantID             string `default:"d9994f8f-7e46-42a8-b2c1-1bfff8d2fe05"`
	SkipCertVerification bool   `envconfig:"default=true"`

	ProvisionerURL     string        `default:"http://compass-provisioner.compass-system.svc.cluster.local:3000/graphql"`
	ProvisionTimeout   time.Duration `default:"3h"`
	DeprovisionTimeout time.Duration `default:"1h"`
	ConfigName         string        `default:"e2e-runtime-config"`
	DeployNamespace    string        `default:"compass-system"`

	UpgradeTest               bool `envconfig:"default=false"`
	DummyTest                 bool `default:"false"`
	CleanupPhase              bool `default:"false"`
	TestAzureEventHubsEnabled bool `default:"true"`
}

type Suite

type Suite struct {
	ProvisionTimeout   time.Duration
	DeprovisionTimeout time.Duration

	InstanceID string

	ConfigName      string
	DeployNamespace string

	IsUpgradeTest               bool
	IsDummyTest                 bool
	IsCleanupPhase              bool
	IsTestAzureEventHubsEnabled bool
	// contains filtered or unexported fields
}

Suite provides set of clients able to provision and test Kyma runtime

func (*Suite) Cleanup

func (ts *Suite) Cleanup()

Cleanup removes all data associated with the test along with runtime

type UpgradeConfig

type UpgradeConfig struct {
	ManagedRuntimeComponentsYAMLPath string
	UpgradeTimeout                   time.Duration `default:"3h"`
	PreUpgradeKymaVersion            string        `envconfig:"optional"` // If empty default version should be used
	UpgradeKymaVersion               string
}

type UpgradeSuite

type UpgradeSuite struct {
	UpgradeTimeout time.Duration

	PreUpgradeKymaVersion string
	UpgradeKymaVersion    string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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