Documentation ¶
Index ¶
- Constants
- func NewLoaderCmd(cliIO cliio.IO) *cobra.Command
- func NewLoaderDeleteCmd(cliIO cliio.IO) *cobra.Command
- func NewLoaderFindCmd(cliIO cliio.IO) *cobra.Command
- func NewLoaderRunCmd(cliIO cliio.IO) *cobra.Command
- func NewLoaderSaveCmd(cliIO cliio.IO) *cobra.Command
- func NewLoaderStartCmd(cliIO cliio.IO) *cobra.Command
- type DeleteOptions
- type Engine
- type EngineType
- type FindOptions
- type RunOptions
- type SaveOptions
Constants ¶
View Source
const ( DefaultConnections = 10 DefaultRequestCount = 1000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteOptions ¶
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run()
type Engine ¶
type Engine struct {
Value EngineType
}
type EngineType ¶
type EngineType string
const ( EngineHTTP EngineType = "http" EngineFastHTTP EngineType = "fast_http" )
type FindOptions ¶
type FindOptions struct { cliio.IO UUID string LoaderLimit int SummaryLimit int FromEpoch int64 ToEpoch int64 Summary bool ShowRequestsStats bool RangeFind bool URL string LoaderName string LoaderDescription string SummaryDescription string Output string From string To string // contains filtered or unexported fields }
func (*FindOptions) Complete ¶
func (o *FindOptions) Complete()
func (*FindOptions) Run ¶
func (o *FindOptions) Run()
type RunOptions ¶
type RunOptions struct { Conf *model.Loader Storage *storage.Storage Config string SummaryDescription string LoaderConfigName string Engine Engine Save bool SaveRequests bool SaveAggregatedRequests bool ShowFullStats bool ShowAggregatedStats bool UUID string cliio.IO }
func (*RunOptions) Complete ¶
func (o *RunOptions) Complete()
Complete method setting the configuration and merging the configuration file with command line options
func (*RunOptions) CompleteDB ¶
func (o *RunOptions) CompleteDB()
CompleteDB uses information saved in the database
func (*RunOptions) Run ¶
func (o *RunOptions) Run()
type SaveOptions ¶
func (*SaveOptions) Run ¶
func (o *SaveOptions) Run()
Click to show internal directories.
Click to hide internal directories.