Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogsGeneratorDeployment ¶
func GetLogsGeneratorDeployment( namespace string, name string, image string, options LogsGeneratorOptions, ) appsv1.Deployment
Types ¶
type LogsGeneratorOptions ¶
type LogsGeneratorOptions struct { // how long we should run in total // the way Duration and TotalLogs interact, is that the program exits on the first condition achieved // in particular, there isn't a way to make it continue running after generating a fixed number of logs Duration uint // how many log lines to generate in total TotalLogs uint // maximum number of logs generated per second LogsThroughput uint // maximum number of bytes generater per second BytesThroughput uint // should we print diagnostic messages? Verbose bool // These options control random pattern generation RandomPatterns uint MinPatternLength uint MaxPatternLength uint KnownWordsInRatio uint RandomWordsInRatio uint RandomDigitsInRatio uint // This option allows the pattern to be controlled directly Pattern string }
func NewDefaultGeneratorOptions ¶
func NewDefaultGeneratorOptions() *LogsGeneratorOptions
Click to show internal directories.
Click to hide internal directories.