Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTitle = "TKEStack" DefaultLogoDir = "default" )
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.
Click to show internal directories.
Click to hide internal directories.