mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-05 12:45:38 +01:00
* Merge 'glusterd2/cluster' package into `glusterd2/options` package. * Rename 'glusterd2/commands/global' to 'glusterd2/commands/options'. Signed-off-by: Prashanth Pai <ppai@redhat.com>
15 lines
411 B
Go
15 lines
411 B
Go
package api
|
|
|
|
// ClusterOptionReq represents an incoming request to set cluster level options
|
|
type ClusterOptionReq struct {
|
|
Options map[string]string `json:"options"`
|
|
}
|
|
|
|
// ClusterOptionsResp contains details for global options
|
|
type ClusterOptionsResp struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
DefaultValue string `json:"default"`
|
|
Modified bool `json:"modified"`
|
|
}
|