framulate

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ContainerName string         `json:"container_name,omitempty"`
	UserName      string         `json:"username,omitempty"`
	AccessKey     string         `json:"access_key,omitempty"`
	Cleanup       bool           `json:"cleanup,omitempty"`
	MaxTasks      int            `json:"max_tasks,omitempty"`
	Scenario      ScenarioConfig `json:"scenario,omitempty"`
	Transport     Transport      `json:"transport,omitempty"`
}

func NewConfigFromContentsOrPath

func NewConfigFromContentsOrPath(configContents []byte, configPath string) (*Config, error)

type Framulate

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

func NewFramulate

func NewFramulate(ctx context.Context, loggerInstance logger.Logger, config *Config) (*Framulate, error)

func (*Framulate) Start

func (f *Framulate) Start() error

type ScenarioConfig

type ScenarioConfig struct {
	Kind        scenarioKind
	WriteVerify WriteVerifyConfig
}

type Transport

type Transport struct {
	URL                 string `json:"url,omitempty"`
	MaxInflightRequests int    `json:"max_inflight_requests,omitempty"`
}

type WriteVerifyConfig

type WriteVerifyConfig struct {
	NumTables               int    `json:"num_tables,omitempty"`
	NumSeriesPerTable       int    `json:"num_series_per_table,omitempty"`
	MaxParallelTablesCreate int    `json:"max_parallel_tables_create,omitempty"`
	MaxParallelSeriesWrite  int    `json:"max_parallel_series_write,omitempty"`
	MaxParallelSeriesVerify int    `json:"max_parallel_series_verify,omitempty"`
	WriteDummySeries        bool   `json:"write_dummy_series,omitempty"`
	NumDatapointsPerSeries  int    `json:"num_datapoints_per_series,omitempty"`
	WriteDelay              string `json:"write_delay,omitempty"`
	VerificationDelay       string `json:"verification_delay,omitempty"`
	Verify                  bool   `json:"verify,omitempty"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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