SetFencing marks whether the instance is fenced, if enabling, marks also any down to be tolerated
(enabled bool)
| 294 | |
| 295 | // SetFencing marks whether the instance is fenced, if enabling, marks also any down to be tolerated |
| 296 | func (instance *Instance) SetFencing(enabled bool) { |
| 297 | instance.fenced.Store(enabled) |
| 298 | if enabled { |
| 299 | instance.SetMightBeUnavailable(true) |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | // SetCanCheckReadiness marks whether the instance should be checked for readiness |
| 304 | func (instance *Instance) SetCanCheckReadiness(enabled bool) { |
no test coverage detected