apiserver

package
v0.18.11 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Scheme defines methods for serializing and deserializing API objects
	Scheme = runtime.NewScheme()
	// Codecs provides methods for retrieving codecs and serializers
	Codecs = serializer.NewCodecFactory(Scheme)
)

Functions

This section is empty.

Types

type CompletedConfig

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

CompletedConfig is the completed configuration for the API server

func (CompletedConfig) New

New returns a new instance of SubresourcesAPIServer from the given config

type Config

type Config struct {
	GenericConfig *genericapiserver.Config
	ExtraConfig   ExtraConfig
}

Config contains configuration for the aggregated API server

func NewConfig

func NewConfig(opts *options.ServerOptions, kubeClient kubernetes.Interface, virtClient client.Client) (*Config, error)

NewConfig creates a new Config from options

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data

type ExtraConfig

type ExtraConfig struct {
	KubeClient kubernetes.Interface
	VirtClient client.Client
}

ExtraConfig holds custom server configuration

type SubresourcesAPIServer

type SubresourcesAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

SubresourcesAPIServer contains state for the aggregated API server

Directories

Path Synopsis
registry

Jump to

Keyboard shortcuts

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