-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathagentgroup_internal.go
More file actions
27 lines (23 loc) · 1020 Bytes
/
agentgroup_internal.go
File metadata and controls
27 lines (23 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package gocbcore
// AgentGroupInternal is a set of internal-only functionality.
// Internal: This should never be used and is not supported.
type AgentGroupInternal struct {
agentGroup *AgentGroup
}
// Internal creates a new AgentGroupInternal.
// Internal: This should never be used and is not supported.
func (ag *AgentGroup) Internal() *AgentGroupInternal {
return &AgentGroupInternal{
agentGroup: ag,
}
}
// SearchCapabilityStatus returns the current status for a given search capability.
// Internal: This should never be used and is not supported.
func (agi *AgentGroupInternal) SearchCapabilityStatus(cap SearchCapability) CapabilityStatus {
return agi.agentGroup.clusterAgent.search.capabilityStatus(cap)
}
// ClusterLabels returns the cluster name and cluster UUID from the cluster associated with this agent group.
// Internal: This should never be used and is not supported.
func (agi *AgentGroupInternal) ClusterLabels() ClusterLabels {
return agi.agentGroup.clusterAgent.tracer.ClusterLabels()
}