Skip to content

Commit

Permalink
fix: remove settings et al
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 31, 2019
1 parent 65e7bfe commit 75c35f4
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions client/cluster.go
Expand Up @@ -40,40 +40,8 @@ type Cluster struct {
TerseBucketsBase string `json:"terseBucketsBase"`
TerseStreamingBucketsBase string `json:"terseStreamingBucketsBase"`
} `json:"buckets"`
RemoteClusters struct {
URI string `json:"uri"`
ValidateURI string `json:"validateURI"`
} `json:"remoteClusters"`
RebalanceStatus string `json:"rebalanceStatus"`
MaxBucketCount float64 `json:"maxBucketCount"`
AutoCompactionSettings struct {
ParallelDBAndViewCompaction bool `json:"parallelDBAndViewCompaction"`
DatabaseFragmentationThreshold struct {
Percentage float64 `json:"percentage"`
Size string `json:"size"`
} `json:"databaseFragmentationThreshold"`
ViewFragmentationThreshold struct {
Percentage float64 `json:"percentage"`
Size string `json:"size"`
} `json:"viewFragmentationThreshold"`
IndexCompactionMode string `json:"indexCompactionMode"`
IndexCircularCompaction struct {
DaysOfWeek string `json:"daysOfWeek"`
Interval struct {
FromHour float64 `json:"fromHour"`
ToHour float64 `json:"toHour"`
FromMinute float64 `json:"fromMinute"`
ToMinute float64 `json:"toMinute"`
AbortOutside bool `json:"abortOutside"`
} `json:"interval"`
} `json:"indexCircularCompaction"`
IndexFragmentationThreshold struct {
Percentage float64 `json:"percentage"`
} `json:"indexFragmentationThreshold"`
} `json:"autoCompactionSettings"`
Tasks struct {
URI string `json:"uri"`
} `json:"tasks"`
RebalanceStatus string `json:"rebalanceStatus"`
MaxBucketCount float64 `json:"maxBucketCount"`
Counters Counters `json:"counters"`
IndexStatusURI string `json:"indexStatusURI"`
CheckPermissionsURI string `json:"checkPermissionsURI"`
Expand Down

0 comments on commit 75c35f4

Please sign in to comment.