Documentation ¶
Index ¶
- type ClientCreator
- type WriterClient
- func (c *WriterClient) SetUp(ctx context.Context, _ []cluster.Node, clientNodes []cluster.ClientNode, ...) error
- func (c *WriterClient) Start(ctx context.Context, cfg interface{}, clientNodes []cluster.ClientNode) error
- func (c *WriterClient) String() string
- func (c *WriterClient) TearDown(ctx context.Context, nodes []cluster.ClientNode, idx int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCreator ¶
ClientCreator creates BlockWriteClient
func (ClientCreator) Create ¶
func (c ClientCreator) Create(node cluster.ClientNode) core.Client
Create creates WriterClient
type WriterClient ¶
type WriterClient struct {
// contains filtered or unexported fields
}
WriterClient is for concurrent writing blocks.
func (*WriterClient) SetUp ¶
func (c *WriterClient) SetUp(ctx context.Context, _ []cluster.Node, clientNodes []cluster.ClientNode, idx int) error
SetUp sets up client
func (*WriterClient) Start ¶
func (c *WriterClient) Start(ctx context.Context, cfg interface{}, clientNodes []cluster.ClientNode) error
Start starts test
func (*WriterClient) String ¶
func (c *WriterClient) String() string
String implements fmt.Stringer interface.
func (*WriterClient) TearDown ¶
func (c *WriterClient) TearDown(ctx context.Context, nodes []cluster.ClientNode, idx int) error
TearDown tears down client
Click to show internal directories.
Click to hide internal directories.