Documentation
¶
Index ¶
- type Client
- func (c *Client) DrainServer(serverToDrain string, namesExcluded string) (excludedServers string)
- func (c *Client) FillAll() *ExcludeSettings
- func (c *Client) FillOneServer(serverToFill string) (serverFilling, excludedServers string)
- func (c *Client) GetClusterExcludeSettings() *ExcludeSettings
- func (c *Client) GetHealth() (string, [][]string, []string)
- func (c *Client) GetIndices() ([][]string, []string)
- func (c *Client) GetNodes() ([][]string, []string)
- func (c *Client) GetSettings() ([][]string, []string)
- func (c *Client) GetSnapshotStatus(repository string, snapshot string) ([][]string, []string)
- func (c *Client) GetSnapshots(repository string) ([][]string, []string)
- func (c *Client) PerformSnapshotsCheck(cluster string) ([]string, []string)
- func (c *Client) SetAllocation(allocation string) string
- func (c *Client) SetSetting(setting string, value string) (string, string, error)
- type ExcludeSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DrainServer ¶
func (*Client) FillAll ¶
func (c *Client) FillAll() *ExcludeSettings
func (*Client) FillOneServer ¶
func (*Client) GetClusterExcludeSettings ¶
func (c *Client) GetClusterExcludeSettings() *ExcludeSettings
Get current cluster settings for exclusion
func (*Client) GetIndices ¶
func (*Client) GetSettings ¶
func (*Client) GetSnapshotStatus ¶
func (*Client) GetSnapshots ¶
func (*Client) PerformSnapshotsCheck ¶
func (*Client) SetAllocation ¶
type ExcludeSettings ¶
type ExcludeSettings struct {
Ips, Hosts, Names []string
}
func ExcludeSettingsFromJson ¶
func ExcludeSettingsFromJson(settings []gjson.Result) *ExcludeSettings
Click to show internal directories.
Click to hide internal directories.