MCPcopy
hub / github.com/NVIDIA/aistore / globalConfigOwner

Struct globalConfigOwner

cmn/gco.go:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type globalConfigOwner struct {
18 mtx sync.Mutex // mutex for protecting updates of config
19 c atomic.Pointer // pointer to `Config` (cluster + local + override config)
20 oc atomic.Pointer // pointer to `ConfigToUpdate`, override configuration on node
21 confPath atomic.Pointer // initial global config path
22}
23
24// GCO (Global Config Owner) is responsible for updating and notifying
25// listeners about any changes in the config. Global Config is loaded

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected