app

package
v0.0.0-...-a6c227c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

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

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

func NewKubeGatewayCommand() *cobra.Command

NewKubeGatewayCommand creates a *cobra.Command object with default parameters

func Run

func Run(completeOptions *options.Options, stopCh <-chan struct{}) error

Run runs the specified APIServer. This should never exit.

Types

This section is empty.

Directories

Path Synopsis
Package options contains flags and options for initializing an apiserver
Package options contains flags and options for initializing an apiserver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL