Documentation ¶
Overview ¶
Package options contains flags and options for initializing a pump server
Index ¶
Constants ¶
View Source
const (
// UserAgent is the userAgent name when starting monster-pump server.
UserAgent = "monster-pump"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { HealthOptions *genericoptions.HealthOptions `json:"health" mapstructure:"health"` KafkaOptions *genericoptions.KafkaOptions `json:"kafka" mapstructure:"monitorKafka"` MongoOptions *genericoptions.MongoOptions `json:"mongo" mapstructure:"mongo"` FeatureGates map[string]bool `json:"feature-gates"` }
Options contains state for master/api server.
func (*Options) Flags ¶
func (o *Options) Flags() (fss cliflag.NamedFlagSets)
Flags returns flags for a specific server by section name.
Click to show internal directories.
Click to hide internal directories.