Documentation ¶
Overview ¶
Package app does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. It can be configured and called directly or via the hyperkube framework.
Index ¶
- func CreateControlPlaneConfig(s *options.ControlPlaneServerRunOptions) (*controlplaneserver.Config, error)
- func CreateKubeGatewayServer(o *options.Options, stopCh <-chan struct{}) (*server.GenericServer, error)
- func CreateProxyConfig(o *options.ProxyOptions, ...) (serverConfig *proxyserver.Config, lastErr error)
- func GetControlPlaneOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func GetNativeOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func NewKubeGatewayCommand() *cobra.Command
- func Run(completeOptions *options.Options, stopCh <-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateControlPlaneConfig ¶
func CreateControlPlaneConfig(s *options.ControlPlaneServerRunOptions) (*controlplaneserver.Config, error)
CreateControlPlaneConfig creates all the resources for running the API server, but runs none of them
func CreateKubeGatewayServer ¶
func CreateKubeGatewayServer(o *options.Options, stopCh <-chan struct{}) (*server.GenericServer, error)
CreateKubeGatewayServer creates the apiservers connected via delegation.
func CreateProxyConfig ¶
func CreateProxyConfig( o *options.ProxyOptions, controlplaneOptions *options.ControlPlaneServerRunOptions, controlplaneServerConfig *controlplaneserver.Config, ) (serverConfig *proxyserver.Config, lastErr error)
func GetControlPlaneOpenAPIDefinitions ¶
func GetControlPlaneOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func GetNativeOpenAPIDefinitions ¶
func GetNativeOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func NewKubeGatewayCommand ¶
NewKubeGatewayCommand creates a *cobra.Command object with default parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.