Documentation
¶
Overview ¶
Package healthcheck typically enables readiness or liveness probes within kubernetes. IMPORTANT: If you update this behavior, be sure to update internal/fullnode/pod_builder.go with the new cosmos operator image in the "healthcheck" container.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statuser ¶
type Statuser interface {
Status(ctx context.Context, rpcHost string) (cosmos.TendermintStatus, error)
}
Statuser can query the Tendermint status endpoint.
type Tendermint ¶
type Tendermint struct {
// contains filtered or unexported fields
}
Tendermint checks the Tendermint status endpoint to determine if the node is in-sync or not.
func NewTendermint ¶
func (*Tendermint) ServeHTTP ¶
func (h *Tendermint) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler.
Click to show internal directories.
Click to hide internal directories.