testsuite

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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 {
	Namespace         string        `envconfig:"default=test-asset-store"`
	BucketName        string        `envconfig:"default=test-bucket"`
	ClusterBucketName string        `envconfig:"default=test-cluster-bucket"`
	CommonAssetPrefix string        `envconfig:"default=test"`
	UploadServiceUrl  string        `envconfig:"default=http://localhost:3000/v1/upload"`
	WaitTimeout       time.Duration `envconfig:"default=2m"`
	Minio             MinioConfig
}

type MinioConfig

type MinioConfig struct {
	Endpoint  string `envconfig:"default=minio.kyma.local"`
	AccessKey string `envconfig:""`
	SecretKey string `envconfig:""`
	UseSSL    bool   `envconfig:"default=true"`
}

type TestSuite

type TestSuite struct {
	// contains filtered or unexported fields
}

func New

func New(restConfig *rest.Config, cfg Config, t *testing.T, g *gomega.GomegaWithT) (*TestSuite, error)

func (*TestSuite) Cleanup

func (t *TestSuite) Cleanup()

func (*TestSuite) Run

func (t *TestSuite) Run()

Jump to

Keyboard shortcuts

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