Documentation ¶
Overview ¶
Package options contains flags and options for initializing an apiserver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { GenericServerRunOptions *options.ServerRunOptions `json:"server" mapstructure:"server"` GRPCOptions *options.GRPCOptions `json:"grpc" mapstructure:"grpc"` InsecureServing *options.InsecureServingOptions `json:"insecure" mapstructure:"insecure"` SecureServing *options.SecureServingOptions `json:"secure" mapstructure:"secure"` MySQLOptions *options.MySQLOptions `json:"mysql" mapstructure:"mysql"` RedisOptions *options.RedisOptions `json:"redis" mapstructure:"redis"` JwtOptions *options.JwtOptions `json:"jwt" mapstructure:"jwt"` FeatureOptions *options.FeatureOptions `json:"feature" mapstructure:"feature"` RateLimitOptions *options.RateLimitOptions `json:"ratelimit" mapstructure:"ratelimit"` Log *log.Options `json:"log" mapstructure:"log"` }
func NewOptions ¶
func NewOptions() *Options
func (*Options) Flags ¶
func (o *Options) Flags() (fss flag.NamedFlagSets)
Click to show internal directories.
Click to hide internal directories.