apiserver

package
v0.0.0-...-fa1f097 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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
}

CompletedConfig embeds a private pointer that cannot be instantiated outside of this package.

func (CompletedConfig) New

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

New returns a new instance of WardleServer from the given config.

func (CompletedConfig) WithOpenAPIAggregationController

func (c CompletedConfig) WithOpenAPIAggregationController(delegatedAPIServer *genericapiserver.GenericAPIServer, config *openapigenerated.Config) error

func (CompletedConfig) WithOpenAPIV3AggregationController

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

type Config

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

func NewConfig

func NewConfig() *Config

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

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

type OAuthAPIExtraConfig

type OAuthAPIExtraConfig struct {
	// AccessTokenInactivityTimeout is a time period after which an oauthaccesstoken
	// is considered invalid unless it gets used again
	AccessTokenInactivityTimeout time.Duration
	APIAudiences                 authenticator.Audiences
}

OAuthAPIExtraConfig is a set of options specific to the OAuth API server

type OAuthAPIServer

type OAuthAPIServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

Jump to

Keyboard shortcuts

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