1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/pkg/api/cluster_options.go
Prashanth Pai edda2c5063 Refactor cluster options package
* Merge 'glusterd2/cluster' package into `glusterd2/options` package.
* Rename 'glusterd2/commands/global' to 'glusterd2/commands/options'.

Signed-off-by: Prashanth Pai <ppai@redhat.com>
2018-10-11 16:26:30 +05:30

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"`
}