Documentation ¶
Index ¶
- type BackupCmd
- type BenchCmd
- type BenchWorkload
- type CountCmd
- type DeleteAllCmd
- type DeleteCmd
- type DeletePrefixCmd
- type EchoCmd
- type GetCmd
- type HeadCmd
- type HexCmd
- type LoadCsvCmd
- type PrintSysVarsCmd
- type PrintVarsCmd
- type PutCmd
- type ScanCmd
- type ScanPrefixCmd
- type SysVarCmd
- type VarCmd
- type YcsbBench
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchCmd ¶
type BenchCmd struct {
Workloads []BenchWorkload
}
func NewBenchCmd ¶
func NewBenchCmd(ww ...BenchWorkload) BenchCmd
type BenchWorkload ¶
type BenchWorkload interface { Name() string Run(ctx context.Context) error Stop(ctx context.Context) error }
func NewYcsbBench ¶
func NewYcsbBench(pdAddr string) BenchWorkload
type DeleteAllCmd ¶
type DeleteAllCmd struct{}
func (DeleteAllCmd) Alias ¶
func (c DeleteAllCmd) Alias() []string
func (DeleteAllCmd) Handler ¶
func (c DeleteAllCmd) Handler() func(ctx context.Context)
func (DeleteAllCmd) Help ¶
func (c DeleteAllCmd) Help() string
func (DeleteAllCmd) LongHelp ¶
func (c DeleteAllCmd) LongHelp() string
func (DeleteAllCmd) Name ¶
func (c DeleteAllCmd) Name() string
type DeletePrefixCmd ¶
type DeletePrefixCmd struct{}
func (DeletePrefixCmd) Alias ¶
func (c DeletePrefixCmd) Alias() []string
func (DeletePrefixCmd) Handler ¶
func (c DeletePrefixCmd) Handler() func(ctx context.Context)
func (DeletePrefixCmd) Help ¶
func (c DeletePrefixCmd) Help() string
func (DeletePrefixCmd) LongHelp ¶
func (c DeletePrefixCmd) LongHelp() string
func (DeletePrefixCmd) Name ¶
func (c DeletePrefixCmd) Name() string
type LoadCsvCmd ¶
type LoadCsvCmd struct{}
func (LoadCsvCmd) Alias ¶
func (c LoadCsvCmd) Alias() []string
func (LoadCsvCmd) Handler ¶
func (c LoadCsvCmd) Handler() func(ctx context.Context)
func (LoadCsvCmd) Help ¶
func (c LoadCsvCmd) Help() string
func (LoadCsvCmd) LongHelp ¶
func (c LoadCsvCmd) LongHelp() string
func (LoadCsvCmd) Name ¶
func (c LoadCsvCmd) Name() string
type PrintSysVarsCmd ¶
type PrintSysVarsCmd struct{}
func (PrintSysVarsCmd) Alias ¶
func (c PrintSysVarsCmd) Alias() []string
func (PrintSysVarsCmd) Handler ¶
func (c PrintSysVarsCmd) Handler() func(ctx context.Context)
func (PrintSysVarsCmd) Help ¶
func (c PrintSysVarsCmd) Help() string
func (PrintSysVarsCmd) LongHelp ¶
func (c PrintSysVarsCmd) LongHelp() string
func (PrintSysVarsCmd) Name ¶
func (c PrintSysVarsCmd) Name() string
type PrintVarsCmd ¶
type PrintVarsCmd struct{}
func (PrintVarsCmd) Alias ¶
func (c PrintVarsCmd) Alias() []string
func (PrintVarsCmd) Handler ¶
func (c PrintVarsCmd) Handler() func(ctx context.Context)
func (PrintVarsCmd) Help ¶
func (c PrintVarsCmd) Help() string
func (PrintVarsCmd) LongHelp ¶
func (c PrintVarsCmd) LongHelp() string
func (PrintVarsCmd) Name ¶
func (c PrintVarsCmd) Name() string
type ScanPrefixCmd ¶
type ScanPrefixCmd struct{}
func (ScanPrefixCmd) Alias ¶
func (c ScanPrefixCmd) Alias() []string
func (ScanPrefixCmd) Handler ¶
func (c ScanPrefixCmd) Handler() func(ctx context.Context)
func (ScanPrefixCmd) Help ¶
func (c ScanPrefixCmd) Help() string
func (ScanPrefixCmd) LongHelp ¶
func (c ScanPrefixCmd) LongHelp() string
func (ScanPrefixCmd) Name ¶
func (c ScanPrefixCmd) Name() string
Click to show internal directories.
Click to hide internal directories.