Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Codecs provides access to encoding and decoding for the scheme Codecs = serializer.NewCodecFactory(scheme) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GenericConfig *genericapiserver.Config
ExtraConfig ExtraConfig
}
Config contains configuration for the aggregated API server
type ServerOptions ¶
type ServerOptions struct {
SecureServing *genericoptions.SecureServingOptionsWithLoopback
}
ServerOptions contains configuration for the aggregated API server Following metrics-server pattern with individual options instead of RecommendedOptions
func NewServerOptions ¶
func NewServerOptions() *ServerOptions
NewServerOptions creates a new ServerOptions with default values
func (*ServerOptions) AddFlags ¶
func (o *ServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to the flagset
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
Complete fills in missing options
func (*ServerOptions) Config ¶
func (o *ServerOptions) Config() (*Config, error)
Config returns a server configuration
func (*ServerOptions) Validate ¶
func (o *ServerOptions) Validate() error
Validate validates the options
Click to show internal directories.
Click to hide internal directories.