User supplied configuration.
Custom HTTP API served over /api
.
ApolloServer served over /graphql
.
Interface to Kubernetes API Server.
Operator configuration.
WebService object used to expose the endpoint.
List of ResourceWatcher objects.
Endpoint to access the GraphQL API, custom API, HealthChecks and metrics.
Hook called by WebService on requests to /health
.
NB: if that method is not overidden, it will always return true
.
true
if the operator is healthy or false
otherwise.
Hook called by WebService before listenning for requests.
Hook called by WebService on requests to /metrics
.
NB: if that method is not overidden, it will always return {}
.
A JSON-serializable object containing the metrics to export.
Hook called by WebService before shutting down (on SIGINT
or SIGTERM
).
Generated using TypeDoc
Declarative interface for the Kubernetes Operator.