MCPcopy
hub / github.com/minio/minio-go / markOffline

Method markOffline

api.go:465–467  ·  view source on GitHub ↗

sets online healthStatus to offline

()

Source from the content-addressed store, hash-verified

463
464// sets online healthStatus to offline
465func (c *Client) markOffline() {
466 atomic.CompareAndSwapInt32(&c.healthStatus, online, offline)
467}
468
469// IsOffline returns true if healthcheck enabled and client is offline
470// If HealthCheck function has not been called this will always return false.

Callers 1

doMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected