MCPcopy
hub / github.com/google/seesaw / setHAStatus

Method setHAStatus

engine/core.go:193–200  ·  view source on GitHub ↗

setHAStatus tells the engine what the current HA status is.

(status seesaw.HAStatus)

Source from the content-addressed store, hash-verified

191
192// setHAStatus tells the engine what the current HA status is.
193func (e *Engine) setHAStatus(status seesaw.HAStatus) error {
194 select {
195 case e.haManager.statusChan <- status:
196 default:
197 return fmt.Errorf("status channel if full")
198 }
199 return nil
200}
201
202// haConfig returns the HAConfig for an engine.
203func (e *Engine) haConfig() (*seesaw.HAConfig, error) {

Callers 1

HAUpdateMethod · 0.80

Implementers 3

EngineClientha/engine_client.go
DummyEngineha/engine_client.go
SeesawEngineengine/ipc.go

Calls

no outgoing calls

Tested by

no test coverage detected