server

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServerChain

func CreateServerChain(config CompletedConfig) (*aggregatorapiserver.APIAggregator, error)

CreateServerChain creates the apiservers connected via delegation.

func DefaultOffAdmissionPlugins

func DefaultOffAdmissionPlugins() sets.Set[string]

DefaultOffAdmissionPlugins get admission plugins off by default for kube-apiserver.

func NewCommand

func NewCommand() *cobra.Command

NewCommand creates a *cobra.Command object with default parameters

func NewOptions

func NewOptions() *options.Options

func Run

Run runs the specified APIServer. This should never exit.

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Options options.CompletedOptions

	Aggregator    *aggregatorapiserver.Config
	ControlPlane  *controlplaneapiserver.Config
	APIExtensions *apiextensionsapiserver.Config

	ExtraConfig
}

func NewConfig

func NewConfig(opts options.CompletedOptions) (*Config, error)

NewConfig creates all the self-contained pieces making up an sample-generic-controlplane, but does not wire them yet into a server object.

func (*Config) Complete

func (c *Config) Complete() (CompletedConfig, error)

type ExtraConfig

type ExtraConfig struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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