Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidDataType = errors.New("invalid data type")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Namespace             string        `envconfig:"default=rafter-test"`
	BucketName            string        `envconfig:"default=test-bucket"`
	ClusterBucketName     string        `envconfig:"default=test-cluster-bucket"`
	AssetGroupName        string        `envconfig:"default=test-asset-group"`
	ClusterAssetGroupName string        `envconfig:"default=test-cluster-asset-group"`
	AssetName             string        `envconfig:"default=test-asset"`
	CommonAssetPrefix     string        `envconfig:"default=test"`
	MockiceName           string        `envconfig:"default=rafter-test-svc"`
	WaitTimeout           time.Duration `envconfig:"default=3m"`
}

type TestSuite

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

func New

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

func (*TestSuite) Cleanup

func (t *TestSuite) Cleanup()

func (*TestSuite) Run

func (t *TestSuite) Run()

func (*TestSuite) Setup

func (t *TestSuite) Setup()