Documentation ¶
Overview ¶
Package options contains flags and options for initializing an apiserver
Index ¶
Constants ¶
View Source
const (
// UserAgent is the userAgent name when starting onex-pump server.
UserAgent = "onex-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:"kafka"` 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.