package server
import "k8s.io/kubernetes/pkg/controlplane/apiserver/samples/generic/server"
Index ¶
- func CreateServerChain(config CompletedConfig) (*aggregatorapiserver.APIAggregator, error)
- func DefaultOffAdmissionPlugins() sets.Set[string]
- func NewCommand() *cobra.Command
- func NewOptions() *options.Options
- func Run(ctx context.Context, opts options.CompletedOptions) error
- type CompletedConfig
- type Config
- func NewConfig(opts options.CompletedOptions) (*Config, error)
- func (c *Config) Complete() (CompletedConfig, error)
- type ExtraConfig
Functions ¶
func CreateServerChain ¶
func CreateServerChain(config CompletedConfig) (*aggregatorapiserver.APIAggregator, error)
CreateServerChain creates the apiservers connected via delegation.
func DefaultOffAdmissionPlugins ¶
DefaultOffAdmissionPlugins get admission plugins off by default for kube-apiserver.
func NewCommand ¶
NewCommand creates a *cobra.Command object with default parameters
func NewOptions ¶
func Run ¶
func Run(ctx context.Context, opts options.CompletedOptions) error
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 { }
Source Files ¶
admission.go config.go server.go serviceaccounts.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controlplane/apiserver/samples/generic/server/testing |
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 55 packages
- Last checked
- 3 hours ago –
Tools for package owners.