Documentation ¶
Index ¶
- type CatHealthResponse
- type CatIndicesResponse
- type CatNodesResponse
- type CatShardsResponse
- type ClusterHealthResponse
- type ClusterRerouteResponse
- type ClusterRerouteStateNodeResponse
- type ClusterRerouteStateResponse
- type ClusterRerouteStateRoutingNodesResponse
- type ClusterRerouteStateRoutingNodesUnAssignedInfoResponse
- type ClusterRerouteStateRoutingNodesUnAssignedResponse
- type ClusterRerouteStateRoutingTableIndicesShardsAllocationResponse
- type ClusterRerouteStateRoutingTableIndicesShardsResponse
- type ClusterRerouteStateRoutingTableResponse
- type ClusterSettingsResponse
- type EnableBalanceRoutingMode
- type FlatClusterSettingsResponse
- type GetActionGroupResponse
- type GetRoleMappingReponse
- type GetRoleResponse
- type GetTenantResponse
- type GetUserResponse
- type MainResponse
- type MainResponseVersion
- type NodeStatAdaptiveSelection
- type NodeStatBreakers
- type NodeStatResponse
- type NodeStatScriptCache
- type NodeStatScriptContext
- type NodeStatThreadPool
- type NodesStatsGeneralInfoResponse
- type NodesStatsResponse
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatHealthResponse ¶
type CatHealthResponse struct { Cluster string `json:"cluster"` Status string `json:"status"` NodeTotal string `json:"node.total"` NodeData string `json:"node.data"` Shards string `json:"shards"` PrimaryShards string `json:"pri"` ReloadingShards string `json:"relo"` InitializingShards string `json:"init"` UnAssignShards string `json:"unassign"` PendingTasks string `json:"pending_tasks"` ActiveShardsPercent string `json:"active_shards_percent"` MaxTaskWaitTime string `json:"max_task_wait_time"` }
type CatIndicesResponse ¶
type CatIndicesResponse struct { Health string `json:"health"` Status string `json:"status"` Index string `json:"index"` Uuid string `json:"uuid"` Pri string `json:"pri"` Rep string `json:"rep"` DocsCount string `json:"docs.count"` DocsDeleted string `json:"docs.deleted"` StoreSize string `json:"tore.size"` PriStoreSize string `json:"pri.store.size"` }
type CatNodesResponse ¶
type CatNodesResponse struct { Ip string `json:"ip"` HeapPercent string `json:"heap.percent"` RamPercent string `json:"ram.percent"` Cpu string `json:"cpu"` Load1m string `json:"load_1m"` Load5m string `json:"load_5m"` Load15m string `json:"load_15m"` NodeRole string `json:"node.role"` Master string `json:"master"` Name string `json:"name"` }
type CatShardsResponse ¶
type CatShardsResponse struct { Index string `json:"index" json:"i" json:"idx"` Shard string `json:"shard" json:"s" json:"sh"` PrimaryOrReplica string `json:"prirep" json:"p" json:"pr" json:"primaryOrReplica"` State string `json:"state" json:"st"` Docs string `json:"docs" json:"d" json:"dc"` Store string `json:"store" json:"sto"` Ip string `json:"ip"` NodeName string `json:"node" json:"n"` NodeId string `json:"id"` UnassignedAt string `json:"unassigned.at" json:"ua"` UnassignedDetails string `json:"ud" json:"unassigned.details" json:"completionSize"` UnassignedFor string `json:"uf" json:"unassigned.for" json:"completionSize"` UnassignedReason string `json:"ur" json:"unassigned.reason" json:"completionSize"` CompletionSize string `json:"cs" json:"completion.size" json:"completionSize"` }
type ClusterHealthResponse ¶
type ClusterHealthResponse struct { Status string `json:"status,omitempty"` ActiveShards int `json:"active_shards,omitempty"` RelocatingShards int `json:"relocating_shards,omitempty"` InitializingShards int `json:"initializing_shards,omitempty"` UnassignedShards int `json:"unassigned_shards,omitempty"` PercentActive float32 `json:"active_shards_percent_as_number,omitempty"` }
type ClusterRerouteResponse ¶
type ClusterRerouteResponse struct { Acknowledged bool `json:"acknowledged"` State ClusterRerouteStateResponse `json:"state"` }
type ClusterRerouteStateResponse ¶
type ClusterRerouteStateResponse struct { ClusterUuid string `json:"cluster_uuid"` Version int32 `json:"version"` StateUuid string `json:"state_uuid"` MasterNode string `json:"master_node"` Blocks map[string]string `json:"blocks"` Nodes map[string]ClusterRerouteStateNodeResponse `json:"nodes"` RoutingTable map[string]ClusterRerouteStateRoutingTableResponse `json:"routing_table"` RoutingNodes map[string][]ClusterRerouteStateRoutingNodesResponse `json:"routing_nodes"` }
type ClusterRerouteStateRoutingNodesResponse ¶
type ClusterRerouteStateRoutingNodesResponse struct { Unassigned []ClusterRerouteStateRoutingNodesUnAssignedResponse `json:"unassigned"` Nodes map[string][]ClusterRerouteStateRoutingTableIndicesShardsAllocationResponse `json:"nodes"` }
type ClusterRerouteStateRoutingNodesUnAssignedInfoResponse ¶
type ClusterRerouteStateRoutingNodesUnAssignedInfoResponse struct { Reason string `json:"reason"` At string `json:"at"` FailedAttempts int32 `json:"failed_attempts"` FailedNodes []string `json:"failed_nodes"` Delayed bool `json:"delayed"` Details string `json:"details"` AllocationStatus string `json:"allocation_status"` }
type ClusterRerouteStateRoutingNodesUnAssignedResponse ¶
type ClusterRerouteStateRoutingNodesUnAssignedResponse struct { Index string `json:"index"` Shard int32 `json:"shard"` PrimaryOrReplica bool `json:"primary"` State string `json:"state"` Node string `json:"node"` RelocatingNode string `json:"relocating_node"` RecoverySource map[string]string `json:"recovery_source"` }
type ClusterRerouteStateRoutingTableIndicesShardsAllocationResponse ¶
type ClusterRerouteStateRoutingTableIndicesShardsAllocationResponse struct { Index string `json:"index"` Shard int32 `json:"shard"` PrimaryOrReplica bool `json:"primary"` State string `json:"state"` Node string `json:"node"` RelocatingNode string `json:"relocating_node"` AllocationId map[string]string `json:"allocation_id"` }
type ClusterRerouteStateRoutingTableIndicesShardsResponse ¶
type ClusterRerouteStateRoutingTableIndicesShardsResponse struct {
Shards map[string][]ClusterRerouteStateRoutingTableIndicesShardsAllocationResponse `json:"shards"`
}
type ClusterRerouteStateRoutingTableResponse ¶
type ClusterRerouteStateRoutingTableResponse struct {
Indices map[string]ClusterRerouteStateRoutingTableIndicesShardsResponse `json:"indices"`
}
type ClusterSettingsResponse ¶
type EnableBalanceRoutingMode ¶
type EnableBalanceRoutingMode int64
func (EnableBalanceRoutingMode) String ¶
func (s EnableBalanceRoutingMode) String() string
type GetActionGroupResponse ¶
type GetActionGroupResponse map[string]requests.ActionGroup
type GetRoleMappingReponse ¶
type GetRoleMappingReponse map[string]requests.RoleMapping
type GetRoleResponse ¶
type GetTenantResponse ¶
type GetUserResponse ¶
type MainResponse ¶
type MainResponse struct { Name string `json:"name"` ClusterName string `json:"cluster_name"` ClusterUuid string `json:"cluster_uuid"` Version MainResponseVersion `json:"version"` Tagline string `json:"tagline"` }
type MainResponseVersion ¶
type MainResponseVersion struct { Distribution string `json:"distribution"` Number string `json:"number"` BuildType string `json:"build_type"` BuildHash string `json:"build_hash"` BuildDate string `json:"build_date"` BuildSnapshot bool `json:"build_snapshot"` LuceneVersion string `json:"lucene_version"` MinimumWireCompatibilityVersion string `json:"minimum_wire_compatibility_version"` MinimumIndexCompatibilityVersion string `json:"minimum_index_compatibility_version"` }
type NodeStatBreakers ¶
type NodeStatResponse ¶
type NodeStatResponse struct { Id string Name string `json:"name"` Timestamp uint64 `json:"timestamp"` TransportAddress string `json:"transport_address"` Host string `json:"host"` Ip string `json:"ip"` Roles []string `json:"roles"` Attributes map[string]string `json:"attributes"` Indices map[string]interface{} `json:"indices"` Os map[string]interface{} `json:"os"` Process map[string]interface{} `json:"process"` Jvm map[string]interface{} `json:"jvm"` ThreadPool map[string]NodeStatThreadPool `json:"thread_pool"` Fs map[string]interface{} `json:"fs"` Transport map[string]interface{} `json:"transport"` Http map[string]interface{} `json:"http"` Breakers map[string]NodeStatBreakers `json:"breakers"` Script map[string]interface{} `json:"script"` Discovery map[string]interface{} `json:"discovery"` Ingest map[string]interface{} `json:"ingest"` AdaptiveSelection map[string]NodeStatAdaptiveSelection `json:"adaptive_selection"` ScriptCache NodeStatScriptCache `json:"script_cache"` IndexingPressure map[string]interface{} `json:"indexing_pressure"` }
type NodeStatScriptCache ¶
type NodeStatScriptCache struct { Sum map[string]interface{} `json:"sum"` Contexts []NodeStatScriptContext `json:"contexts"` }
type NodeStatScriptContext ¶
type NodeStatThreadPool ¶
type NodesStatsResponse ¶
type NodesStatsResponse struct { GeneralInfo NodesStatsGeneralInfoResponse `json:"_nodes"` ClusterName string `json:"cluster_name"` Nodes map[string]NodeStatResponse `json:"nodes"` }
Click to show internal directories.
Click to hide internal directories.