Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter( logger lager.Logger, rootConfig *config.Config, monitClient MonitClient, sequenceNumberChecker SequenceNumberChecker, reqHealthChecker ReqHealthChecker, healthchecker HealthChecker, stateSnapshotter StateSnapshotter, ) (http.Handler, error)
Types ¶
type HealthChecker ¶
type MonitClient ¶
type MonitClient interface { StartServiceBootstrap(req *http.Request) (string, error) StartServiceJoin(req *http.Request) (string, error) StartServiceSingleNode(req *http.Request) (string, error) StopService(req *http.Request) (string, error) GetStatus(req *http.Request) (string, error) GetLogger(req *http.Request) lager.Logger }
type SequenceNumberChecker ¶
type StateSnapshotter ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.