test

package
v0.0.0-...-c23eaa3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 22 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"`
	PreUpgradeKymaVersion string        `envconfig:"optional"`
	ConfigName            string        `default:"e2e-runtime-config"`
	DeployNamespace       string        `default:"kcp-system"`

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

	BusolaURL string
}

type Suite

type Suite struct {
	PreUpgradeKymaVersion string

	ProvisionTimeout   time.Duration
	DeprovisionTimeout time.Duration

	InstanceID string

	ConfigName      string
	DeployNamespace string

	IsUpgradeTest  bool
	IsDummyTest    bool
	IsCleanupPhase bool

	BusolaURL string
	// 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