Documentation
¶
Index ¶
- type CompletedConfig
- func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*OAuthAPIServer, error)
- func (c CompletedConfig) WithOpenAPIAggregationController(delegatedAPIServer *genericapiserver.GenericAPIServer, ...) error
- func (c CompletedConfig) WithOpenAPIV3AggregationController(delegatedAPIServer *genericapiserver.GenericAPIServer) error
- type Config
- type OAuthAPIExtraConfig
- type OAuthAPIServer
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 (*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
}
Click to show internal directories.
Click to hide internal directories.