rootapiserver

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

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

func (CompletedConfig) WithOpenAPIAggregationController

func (c CompletedConfig) WithOpenAPIAggregationController(delegatedAPIServer *genericapiserver.GenericAPIServer) error

type Config added in v0.20.0

type Config struct {
	Generic *genericapiserver.RecommendedConfig
	Extra   ExtraConfig
}

func NewConfig added in v0.20.0

func NewConfig(recommendedConfig *genericapiserver.RecommendedConfig) (*Config, error)

func (*Config) Complete added in v0.20.0

func (c *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type ExtraConfig added in v0.20.0

type ExtraConfig struct {
	VirtualWorkspaces []NamedVirtualWorkspace
}

type NamedVirtualWorkspace added in v0.7.0

type NamedVirtualWorkspace struct {
	Name string
	framework.VirtualWorkspace
}

type Server added in v0.20.0

type Server struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

Server is only responsible for serving the APIs for the virtual workspace at a given root path or root path family It does NOT expose oauth, related oauth endpoints, or any kube APIs.

func NewServer added in v0.20.0

func NewServer(c CompletedConfig, delegationTarget genericapiserver.DelegationTarget) (*Server, error)

Jump to

Keyboard shortcuts

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