sharedoptions

package
v0.0.0-...-68b5108 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsistencyLevels = []ConsistencyLevelType{
	"LOCAL_ONE",
}
View Source
var SerialConsistencyLevels = []SerialConsistencyLevelType{
	"SERIAL",
}
View Source
var TruncateTypes = []TruncateType{"never", "always", "once"}

Functions

This section is empty.

Types

type ConsistencyLevelType

type ConsistencyLevelType string

type SerialConsistencyLevelType

type SerialConsistencyLevelType string

type Suite

type Suite struct {
	CassandraStressPath    string
	MaxErrorThreshold      float32
	MinIterations          int
	MaxIterations          int
	Warmup                 bool
	Truncate               string
	ConsistencyLevel       string
	SerialConsistencyLevel SerialConsistencyLevelType
	OperationsCount        int
	Timeout                time.Duration
}

func NewSuite

func NewSuite() *Suite

func (*Suite) AddFlags

func (so *Suite) AddFlags(cmd *cobra.Command)

func (*Suite) Complete

func (so *Suite) Complete() error

func (*Suite) Validate

func (so *Suite) Validate() error

type TruncateType

type TruncateType string

Jump to

Keyboard shortcuts

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