Module kubert::server

source ·
Available on crate feature server only.
Expand description

Helpers for configuring and running an HTTPS server, especially for admission controllers and API extensions

Unlike a normal hyper server, this server reloads its TLS credentials for each connection to support certificate rotation.

§TLS Feature Flags

The server module requires that one of the TLS implementation Cargo features be enabled in order to run the server. If neither TLS implementation is selected, running the server will panic. However, this module itself is still enabled if neither TLS feature flag is selected. This is to allow the server module to be used in a library crate which does not require either particular TLS implementation, so that the top-level binary crate may choose which TLS implementation is used.

Structs§

Enums§

  • Describes an error that occurred while initializing a server