creator

package
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: 16 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 {
	*config.Config
	ConfigPath string
	Mode       string
}

Config struct

type PocketClient

type PocketClient struct {
	Config
}

PocketClient runs pocket

func (PocketClient) SetUp

func (PocketClient) SetUp(ctx context.Context, _ []cluster.Node, _ []cluster.ClientNode, idx int) error

SetUp sets up the client.

func (PocketClient) Start

func (p PocketClient) Start(ctx context.Context, _ interface{}, clientNodes []cluster.ClientNode) error

Start runs auto driver cases

func (PocketClient) TearDown

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

TearDown tears down the client.

type PocketCreator

type PocketCreator struct {
	Config
}

PocketCreator create pocket instances

func (PocketCreator) Create

func (p PocketCreator) Create(node cluster.ClientNode) core.Client

Create client

Jump to

Keyboard shortcuts

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