Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetHealthzHandler ¶ added in v1.10.0
func NewGetHealthzHandler(s *Server) operator.GetHealthzHandler
NewGetHealthzHandler handles health requests.
func NewGetMetricsHandler ¶ added in v1.10.0
func NewGetMetricsHandler(s *Server) metrics.GetMetricsHandler
NewGetMetricsHandler handles metrics requests.
Types ¶
type Server ¶
type Server struct { operatorApi.Server // contains filtered or unexported fields }
Server is the type corresponding to cilium-operator apiserver.
func NewServer ¶ added in v1.10.0
func NewServer(shutdownSignal <-chan struct{}, allSystemsGo <-chan struct{}, addrs ...string) (*Server, error)
NewServer creates a server to handle cilium-operator requests.
func (*Server) StartServer ¶ added in v1.10.0
StartServer starts the HTTP listeners for the apiserver.
func (*Server) WithStatusCheckFunc ¶ added in v1.10.0
WithStatusCheckFunc returns the server configuring the check status function to return the health of the operator.
Click to show internal directories.
Click to hide internal directories.