profiles

package
v0.0.0-...-3f0bb5d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Mutation = iota
	Select
)

Variables

This section is empty.

Functions

func GetPlugins

func GetPlugins() map[string]Plugin

Types

type Custom

type Custom struct {
	Rows uint64
	// contains filtered or unexported fields
}

type Operation

type Operation struct {
	Query *gocql.Query
	OperationType
}

type OperationType

type OperationType int16

type Plugin

type Plugin struct {
	Name     string
	Instance StressProfile
}

func GetPlugin

func GetPlugin(name string) (*Plugin, bool)

type PopulationOption

type PopulationOption interface{}

type Standard

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

type StressProfile

type StressProfile interface {
	Schema() []string

	GetRunner(registry *generators.Registry, session *gocql.Session) StressRunner

	GetFieldGenerators() map[generators.Field]generators.FieldGenerator

	GetPopulationOption() PopulationOption
}

func NewBasicTimeSeries

func NewBasicTimeSeries() StressProfile

func NewKeyValue

func NewKeyValue() StressProfile

type StressRunner

type StressRunner interface {
	GetNextMutation(key *generators.PartitionKey) *Operation

	GetNextSelect(key *generators.PartitionKey) *Operation
}

Jump to

Keyboard shortcuts

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