gateway

package

Documentation

Index

Constants

View Source
const CallbackPath = "/callback"

CallbackPath is the callback URL path for OAuth2 authorization

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

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

CompletedConfig embed a private pointer of Config.

func (CompletedConfig) New

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

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

type Config

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

Config contains the core configuration instance of server and additional configuration.

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 ExtraConfig

type ExtraConfig struct {
	ServerName        string
	OAuthConfig       *oauth2.Config
	OIDCHttpClient    *http.Client
	OIDCAuthenticator *oidc.Authenticator
	GatewayConfig     *gatewayconfig.GatewayConfiguration
	HeaderRequest     bool
}

ExtraConfig contains the additional configuration of apiserver.

type Gateway

type Gateway struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

Gateway contains state for TKE gateway server.

Directories

Path Synopsis
apis
config
Package config is the internal version of the API.
Package config is the internal version of the API.
config/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
config

Jump to

Keyboard shortcuts

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