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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AssetDataName = "petstore.json"
	AssetDataURL  = "https://petstore.swagger.io/v2/swagger.json"
)
View Source
const (
	BucketName        = "e2ebackup-bucket"
	ClusterBucketName = "e2ebackup-cluster-bucket"
	CommonAssetPrefix = "e2ebackup-asset"
	WaitTimeout       = 3 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

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

func New

func New(restConfig *rest.Config, namespace string, t *testing.T) (*TestSuite, error)

func (*TestSuite) CreateAssets

func (t *TestSuite) CreateAssets() error

func (*TestSuite) CreateBuckets

func (t *TestSuite) CreateBuckets() error

func (*TestSuite) DeleteClusterAsset

func (t *TestSuite) DeleteClusterAsset() error

func (*TestSuite) DeleteClusterBucket

func (t *TestSuite) DeleteClusterBucket() error

func (*TestSuite) WaitForAssetsReady

func (t *TestSuite) WaitForAssetsReady() error

func (*TestSuite) WaitForBucketsReady

func (t *TestSuite) WaitForBucketsReady() error

func (*TestSuite) WaitForClusterAssetDeleted

func (t *TestSuite) WaitForClusterAssetDeleted() error

func (*TestSuite) WaitForClusterBucketDeleted

func (t *TestSuite) WaitForClusterBucketDeleted() error

Jump to

Keyboard shortcuts

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