Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorsOptions ¶
func NewCORSOptions ¶
func NewCORSOptions() *CorsOptions
func (*CorsOptions) AddFlags ¶
func (o *CorsOptions) AddFlags(fs *pflag.FlagSet)
func (*CorsOptions) AddGoFlags ¶
func (o *CorsOptions) AddGoFlags(fs *flag.FlagSet)
func (*CorsOptions) Validate ¶
func (o *CorsOptions) Validate() []error
type RecommendedOptions ¶
type RecommendedOptions struct { Cors *CorsOptions SecureServing *SecureServingOptions }
func NewRecommendedOptions ¶
func NewRecommendedOptions() *RecommendedOptions
func (*RecommendedOptions) AddFlags ¶
func (o *RecommendedOptions) AddFlags(fs *pflag.FlagSet)
func (*RecommendedOptions) AddGoFlags ¶
func (o *RecommendedOptions) AddGoFlags(fs *flag.FlagSet)
func (*RecommendedOptions) ApplyTo ¶
func (o *RecommendedOptions) ApplyTo(config *server.Config) error
func (*RecommendedOptions) Validate ¶
func (o *RecommendedOptions) Validate() []error
type SecureServingOptions ¶
type SecureServingOptions struct { SecureAddr string PlaintextAddr string APIDomain string CACertFile string CertFile string KeyFile string }
func NewSecureServingOptions ¶
func NewSecureServingOptions() *SecureServingOptions
func (*SecureServingOptions) AddFlags ¶
func (o *SecureServingOptions) AddFlags(fs *pflag.FlagSet)
func (*SecureServingOptions) AddGoFlags ¶
func (o *SecureServingOptions) AddGoFlags(fs *flag.FlagSet)
func (*SecureServingOptions) ApplyTo ¶
func (o *SecureServingOptions) ApplyTo(cfg *server.Config) error
func (*SecureServingOptions) Validate ¶
func (o *SecureServingOptions) Validate() []error
Click to show internal directories.
Click to hide internal directories.