rootapiserver

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 11 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) New

func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*RootAPIServer, error)

func (CompletedConfig) WithOpenAPIAggregationController

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

type InformerStart

type InformerStart func(stopCh <-chan struct{})

type NamedVirtualWorkspace added in v0.7.0

type NamedVirtualWorkspace struct {
	Name string
	framework.VirtualWorkspace
}

type RootAPIConfig

type RootAPIConfig struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   RootAPIExtraConfig
}

func NewRootAPIConfig

func NewRootAPIConfig(recommendedConfig *genericapiserver.RecommendedConfig, informerStarts []InformerStart, virtualWorkspaces []NamedVirtualWorkspace) (*RootAPIConfig, error)

func (*RootAPIConfig) Complete

func (c *RootAPIConfig) Complete() completedConfig

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

type RootAPIExtraConfig

type RootAPIExtraConfig struct {
	VirtualWorkspaces []NamedVirtualWorkspace
	// contains filtered or unexported fields
}

func (*RootAPIExtraConfig) Validate

func (c *RootAPIExtraConfig) Validate() error

Validate helps ensure that we build this config correctly, because there are lots of bits to remember for now

type RootAPIServer

type RootAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

RootAPIServer 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.

Jump to

Keyboard shortcuts

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