package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package filters contains all the http handler chain filters which are not api related.
Package healthz implements basic http server health checking.
Package httplog contains a helper object and functions to maintain a log along with an http response.
Package mux contains abstractions for http multiplexing of APIs.
package options is the public flags and options used by a generic api server.
Package resourceconfig contains the resource config related helper functions.
Package routes holds a collection of optional genericapiserver http handlers.
Package storage contains the plumbing to setup the etcd storage of the apiserver.

# Functions

AuthorizeClientBearerToken wraps the authenticator and authorizer in loopback authentication logic if the loopback client config is specified AND it has a bearer token.
No description provided by the author
No description provided by the author
No description provided by the author
LoopbackHostPort returns the host and port loopback REST clients should use to contact the server.
No description provided by the author
NewConfig returns a Config struct with the default values.
NewDefaultAPIGroupInfo returns an APIGroupInfo stubbed with "normal" values exposed for easier composition from other packages.
No description provided by the author
NewEmptyDelegateWithCustomHandler allows for registering a custom handler usually for special handling of 404 requests.
NewRecommendedConfig returns a RecommendedConfig struct with the default values.
No description provided by the author
No description provided by the author
RegisterAllAdmissionPlugins registers all admission plugins.
RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT) This returns whether a handler was notified.
RunServer spawns a go-routine continuously serving until the stopCh is closed.
SetupSignalContext is same as SetupSignalHandler, but a context.Context is returned.
SetupSignalHandler registered for SIGTERM and SIGINT.

# Constants

APIGroupPrefix is where non-legacy API group will be located.
DefaultLegacyAPIPrefix is where the legacy APIs will be located.
LoopbackClientServerNameOverride is passed to the apiserver from the loopback client in order to select the loopback certificate via SNI if TLS is used.

# Structs

Info about an API group.
APIServerHandlers holds the different http.Handlers used by the API server.
No description provided by the author
No description provided by the author
No description provided by the author
Config is a structure used to configure a GenericAPIServer.
DeprecatedInsecureServingInfo is the main context object for the insecure http server.
GenericAPIServer contains state for a Kubernetes cluster api server.
InsecureSuperuser implements authenticator.Request to always return a superuser.
No description provided by the author
PostStartHookContext provides information about this API server to a PostStartHookFunc.
No description provided by the author
No description provided by the author

# Interfaces

DelegationTarget is an interface which allows for composition of API servers with top level handling that works as expected.
PostStartHookProvider is an interface in addition to provide a post start hook for the api server.
ResourceExpirationEvaluator indicates whether or not a resource should be served.

# Type aliases

HandlerChainBuilderFn is used to wrap the GoRestfulContainer handler using the provided handler chain.
PostStartHookFunc is a function that is called after the server has started.
PreShutdownHookFunc is a function that can be added to the shutdown logic.