Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶ added in v0.12.0
func NewMonitor ¶ added in v0.12.0
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetApiServerListeners ¶ added in v0.12.0
func (*Server) Kill ¶ added in v0.12.0
func (s *Server) Kill()
Kill is used to gracefully terminate the server by triggering the Monitor to shut down
func (*Server) MarshalJSON ¶ added in v0.2.0
func (*Server) SetReconfigServer ¶ added in v0.12.0
func (*Server) Supervise ¶ added in v0.12.0
func (s *Server) Supervise()
Supervise monitors the life of the Server and coordinates its shutdown. A shutdown occurs when the monitor returns, either because a health check fails or a user triggers a shutdown. If the shutdown is due to a health check failure, the Server is restarted. Supervise will block shutdown until all components have finished shutting down or a timeout occurs; if this happens, the Server will not automatically be restarted.
Click to show internal directories.
Click to hide internal directories.