global configuration
| 52 | |
| 53 | // global configuration |
| 54 | ClusterConfig struct { |
| 55 | Backend BackendConf `json:"backend" allow:"cluster"` |
| 56 | Mirror MirrorConf `json:"mirror" allow:"cluster"` |
| 57 | EC ECConf `json:"ec" allow:"cluster"` |
| 58 | Log LogConf `json:"log"` |
| 59 | Periodic PeriodConf `json:"periodic"` |
| 60 | Timeout TimeoutConf `json:"timeout"` |
| 61 | Client ClientConf `json:"client"` |
| 62 | Proxy ProxyConf `json:"proxy" allow:"cluster"` |
| 63 | Space SpaceConf `json:"space"` |
| 64 | LRU LRUConf `json:"lru"` |
| 65 | Disk DiskConf `json:"disk"` |
| 66 | Rebalance RebalanceConf `json:"rebalance" allow:"cluster"` |
| 67 | Resilver ResilverConf `json:"resilver"` |
| 68 | Cksum CksumConf `json:"checksum"` |
| 69 | Versioning VersionConf `json:"versioning" allow:"cluster"` |
| 70 | Net NetConf `json:"net"` |
| 71 | FSHC FSHCConf `json:"fshc"` |
| 72 | Auth AuthConf `json:"auth"` |
| 73 | Keepalive KeepaliveConf `json:"keepalivetracker"` |
| 74 | Downloader DownloaderConf `json:"downloader"` |
| 75 | DSort DSortConf `json:"distributed_sort"` |
| 76 | Transport TransportConf `json:"transport"` |
| 77 | Memsys MemsysConf `json:"memsys"` |
| 78 | TCB TCBConf `json:"tcb"` // transform/copy bucket |
| 79 | WritePolicy WritePolicyConf `json:"write_policy"` // write {immediate, delayed, never} |
| 80 | Features feat.Flags `json:"features,string" allow:"cluster"` // (to flip assorted defaults) |
| 81 | // read-only |
| 82 | LastUpdated string `json:"lastupdate_time"` // timestamp |
| 83 | UUID string `json:"uuid"` // UUID |
| 84 | Version int64 `json:"config_version,string"` // version |
| 85 | // within meta-version extensions |
| 86 | Ext interface{} `json:"ext,omitempty"` |
| 87 | } |
| 88 | ConfigToUpdate struct { |
| 89 | // ClusterConfig |
| 90 | Backend *BackendConf `json:"backend,omitempty"` |
nothing calls this directly
no outgoing calls
no test coverage detected