Documentation
¶
Index ¶
Constants ¶
View Source
const SecurePortDefault = 6444
Variables ¶
This section is empty.
Functions ¶
func APIServerCommand ¶
func APIServerCommand(out, errout io.Writer, stopCh <-chan struct{}, subCommandOptions SubCommandOptions) *cobra.Command
func ReadKubeConfig ¶
func ReadKubeConfig(kubeConfigFile string) (clientcmd.ClientConfig, error)
Types ¶
type APIServerOptions ¶
type APIServerOptions struct {
Output io.Writer
SecureServing *genericapiserveroptions.SecureServingOptionsWithLoopback
Authentication *genericapiserveroptions.DelegatingAuthenticationOptions
SubCommandOptions SubCommandOptions
}
func (*APIServerOptions) AddFlags ¶
func (o *APIServerOptions) AddFlags(flags *pflag.FlagSet)
func (*APIServerOptions) RunAPIServer ¶
func (o *APIServerOptions) RunAPIServer(stopCh <-chan struct{}) error
RunAPIServer takes the options, starts the API server and waits until stopCh is closed or initial listening fails.
func (*APIServerOptions) Validate ¶
func (o *APIServerOptions) Validate() error
type SubCommandDescription ¶
type SubCommandOptions ¶
type SubCommandOptions interface {
Description() SubCommandDescription
AddFlags(flags *pflag.FlagSet)
Validate() []error
PrepareVirtualWorkspaces() ([]virtualrootapiserver.InformerStart, []framework.VirtualWorkspace, error)
}
Click to show internal directories.
Click to hide internal directories.