Documentation ¶
Index ¶
- Variables
- func ApplyFlagsFns(fs *pflag.FlagSet) *pflag.FlagSet
- func ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
- func NewCommandStartWardleServer(defaults *WardleServerOptions, stopCh <-chan struct{}) *cobra.Command
- func SetOpenAPIDefinitions(name, version string, defs openapicommon.GetOpenAPIDefinitions)
- func ValidateRecommendedOptions(o *options.RecommendedOptions) []error
- type ServerOptions
- type WardleServerOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EtcdPath string RecommendedConfigFns []func(*pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig ServerOptionsFns []func(server *ServerOptions) *ServerOptions FlagsFns []func(fs *pflag.FlagSet) *pflag.FlagSet NewCommandStartServer = NewCommandStartWardleServer )
Functions ¶
func ApplyRecommendedConfigFns ¶
func ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
func NewCommandStartWardleServer ¶
func NewCommandStartWardleServer(defaults *WardleServerOptions, stopCh <-chan struct{}) *cobra.Command
NewCommandStartWardleServer provides a CLI handler for 'start master' command with a default WardleServerOptions.
func SetOpenAPIDefinitions ¶
func SetOpenAPIDefinitions(name, version string, defs openapicommon.GetOpenAPIDefinitions)
func ValidateRecommendedOptions ¶
func ValidateRecommendedOptions(o *options.RecommendedOptions) []error
ValidateRecommendedOptions validates the options.
A temporary work-around for https://github.com/kubernetes/kubernetes/pull/97954
Types ¶
type ServerOptions ¶
type ServerOptions = WardleServerOptions
func ApplyServerOptionsFns ¶
func ApplyServerOptionsFns(in *ServerOptions) *ServerOptions
type WardleServerOptions ¶
type WardleServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions StdOut io.Writer StdErr io.Writer }
WardleServerOptions contains state for master/api server
func NewWardleServerOptions ¶
func NewWardleServerOptions(out, errOut io.Writer, versions ...schema.GroupVersion) *WardleServerOptions
NewWardleServerOptions returns a new WardleServerOptions
func (*WardleServerOptions) Complete ¶
func (o *WardleServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*WardleServerOptions) Config ¶
func (o *WardleServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given WardleServerOptions
func (WardleServerOptions) RunWardleServer ¶
func (o WardleServerOptions) RunWardleServer(stopCh <-chan struct{}) error
RunWardleServer starts a new WardleServer given WardleServerOptions
func (WardleServerOptions) Validate ¶
func (o WardleServerOptions) Validate(args []string) error
Validate validates WardleServerOptions
Click to show internal directories.
Click to hide internal directories.