Documentation ¶
Index ¶
Constants ¶
View Source
const (
AgentUnhealthyCnt = 5
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullAggregator ¶
type PullAggregator struct { Storage v1.Storage CBStore cbstore.CBStore AgentList map[string]common.AgentInfo }
func NewPullAggregator ¶
func NewPullAggregator() (*PullAggregator, error)
func (*PullAggregator) AggregateMetric ¶
func (*PullAggregator) CalculateMetric ¶
func (pa *PullAggregator) CalculateMetric() (map[string]interface{}, error)
func (*PullAggregator) StartAggregate ¶
func (pa *PullAggregator) StartAggregate() error
type PullCaller ¶
type PullCaller struct {
AgentList map[string]agentmetadata.AgentInfo
}
func NewPullCaller ¶
func NewPullCaller(agentList map[string]agentmetadata.AgentInfo) (PullCaller, error)
func (PullCaller) StartPull ¶
func (pc PullCaller) StartPull()
Click to show internal directories.
Click to hide internal directories.