Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EtcdPath string RecommendedConfigFns []func(*server.RecommendedConfig) *server.RecommendedConfig ServerOptionsFns []func(server *ServerOptions) *ServerOptions FlagsFns []func(fs *pflag.FlagSet) *pflag.FlagSet )
Functions ¶
func ApplyRecommendedConfigFns ¶
func ApplyRecommendedConfigFns(in *server.RecommendedConfig) *server.RecommendedConfig
Types ¶
type ServerOptions ¶
type ServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions StdOut io.Writer StdErr io.Writer }
func ApplyServerOptionsFns ¶
func ApplyServerOptionsFns(in *ServerOptions) *ServerOptions
func NewServerOptions ¶
func NewServerOptions(out, errOut io.Writer, versions ...schema.GroupVersion) *ServerOptions
NewServerOptions returns a new ServerOptions
func (*ServerOptions) Complete ¶
func (o *ServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*ServerOptions) Config ¶
func (o *ServerOptions) Config(serverName string) (*apiserver.Config, error)
Config returns config for the api server given WardleServerOptions
func (ServerOptions) RunServer ¶
func (o ServerOptions) RunServer(ctx context.Context, serverName string) error
RunServer starts a new Server given ServerOptions
func (ServerOptions) Validate ¶
func (o ServerOptions) Validate(args []string) error
Validate validates ServerOptions
Click to show internal directories.
Click to hide internal directories.