# Packages

No description provided by the author

# Functions

AddEntryToIPSet increments the number of entries for IPSet setName.
AddPod increments the number of Pod IPs.
Close cleans up the telemetry handle, which effectively waits for all telemetry data to be sent.
CreateTelemetryHandle creates a handler to initialize AI telemetry.
DecNumACLRules decrements the number of ACL rules.
DecNumACLRulesBy decrements the number of ACL rules by the amount.
DecNumIPSets decrements the number of IPSets.
DecNumPolicies decrements the number of policies.
DeleteIPSet decrements the number of IPSets and resets the number of entries for ipset setName to 0.
GetACLRuleExecCount returns the number of observations for execution time of adding ACL rules.
GetControllerNamespaceExecCount returns the number of observations for namespace exec time for the specified operation.
GetControllerPodExecCount returns the number of observations for pod exec time for the specified operation.
GetControllerPolicyExecCount returns the number of observations for policy exec time for the specified operation.
GetHandler returns the HTTP handler for the metrics endpoint.
GetIPSetExecCount returns the number of observations for execution time of adding IPSets.
GetNumACLRules returns the number of ACL rules.
GetNumEntriesForIPSet returns the number entries for IPSet setName.
GetNumIPSetEntries returns the total number of IPSet entries.
GetNumIPSets returns the number of IPSets.
GetNumPolicies returns the number of policies.
No description provided by the author
IncNumACLRules increments the number of ACL rules.
IncNumACLRulesBy increments the number of ACL rules by the amount.
IncNumIPSets increments the number of IPSets.
IncNumPolicies increments the number of policies.
InitializeAll creates the Controller and Daemon Prometheus Metrics.
No description provided by the author
InitializeWindowsMetrics should NOT be called externally except for resetting metrics for UTs.
NumIPSetsIsPositive is true when the number of IPSets is positive.
PodCount gets the current number of Pod IPs.
RecordACLRuleExecTime adds an observation of execution time for adding an ACL rule.
RecordControllerNamespaceExecTime adds an observation of namespace exec time (unless the operation is NoOp).
RecordControllerPodExecTime adds an observation of pod exec time for the specified operation (unless the operation is NoOp).
RecordControllerPolicyExecTime adds an observation of policy exec time (unless the operation is NoOp).
RecordIPSetExecTime adds an observation of execution time for adding an IPSet.
No description provided by the author
No description provided by the author
ReinitializeAll creates/replaces Prometheus metrics.
RemoveAllEntriesFromIPSet sets the number of entries for ipset setName to 0.
RemoveEntryFromIPSet decrements the number of entries for IPSet setName.
RemovePod decrements the number of Pod IPs.
ResetIPSetEntries sets the number of entries to 0 for all IPSets.
ResetNumACLRules sets the number of ACL rules to 0.
ResetNumIPSets sets the number of IPSets to 0.
ResetNumPolicies sets the number of policies to 0.
SendErrorLogAndMetric sends a metric through AI telemetry and sends a log to the Kusto Messages table.
No description provided by the author
SendLog sends log.
SendMetric sends metrics.
SetNumIPSets sets the number of IPsets to val.
StartNewTimer creates a new Timer.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

Timer is a one-time-use tool for recording time between a start and end point.

# Type aliases

No description provided by the author
No description provided by the author