test

package
v0.0.0-...-1477360 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

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://kcp-provisioner.kcp-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:"kcp-system"`

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

type Suite

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

	InstanceID string

	ConfigName      string
	DeployNamespace string

	IsUpgradeTest  bool
	IsDummyTest    bool
	IsCleanupPhase 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 {
	UpgradeTimeout time.Duration `default:"3h"`
}

type UpgradeSuite

type UpgradeSuite struct {
	UpgradeTimeout time.Duration
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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