Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is responsible for collecting stats from the Openflow client, calculating the delta compared with the last reported stats, and reporting it to the antrea-controller summary API.
func NewCollector ¶
func NewCollector(antreaClientProvider agent.AntreaClientProvider, ofClient openflow.Client, npQuerier querier.AgentNetworkPolicyInfoQuerier) *Collector
Click to show internal directories.
Click to hide internal directories.