testcase

package module
v0.0.0-...-dfd9850 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseCreator

type CaseCreator struct{}

CaseCreator is a creator of test client

func (CaseCreator) Create

func (c CaseCreator) Create(node cluster.ClientNode) core.Client

Create creates a test client

type Client

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

Client defines how our test case works

func (*Client) SetUp

func (c *Client) SetUp(ctx context.Context, _ []cluster.Node, clientNodes []cluster.ClientNode, idx int) error

SetUp implements the core.Client interface.

func (*Client) Start

func (c *Client) Start(ctx context.Context, cfg interface{}, clientNodes []cluster.ClientNode) error

Start implements the core.StandardClientExtensions interface.

func (*Client) TearDown

func (c *Client) TearDown(ctx context.Context, nodes []cluster.ClientNode, idx int) error

TearDown implements the core.Client interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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