Documentation ¶
Overview ¶
Package kubenurse contains the server code for the kubenurse service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶ added in v1.12.0
type CacheEntry[K comparable] struct { // contains filtered or unexported fields }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is used to build the kubenurse http/https server(s).
func New ¶
New creates a new kubenurse server. The server can be configured with the following environment variables: * KUBENURSE_USE_TLS * KUBENURSE_ALLOW_UNSCHEDULABLE * KUBENURSE_INGRESS_URL * KUBENURSE_SERVICE_URL * KUBERNETES_SERVICE_HOST * KUBERNETES_SERVICE_PORT * KUBENURSE_NAMESPACE * KUBENURSE_NEIGHBOUR_FILTER * KUBENURSE_NEIGHBOUR_LIMIT * KUBENURSE_SHUTDOWN_DURATION * KUBENURSE_CHECK_API_SERVER_DIRECT * KUBENURSE_CHECK_API_SERVER_DNS * KUBENURSE_CHECK_ME_INGRESS * KUBENURSE_CHECK_ME_SERVICE * KUBENURSE_CHECK_NEIGHBOURHOOD * KUBENURSE_CHECK_INTERVAL
type TTLCache ¶ added in v1.12.0
type TTLCache[K comparable] struct { TTL time.Duration // contains filtered or unexported fields }