Documentation ¶
Index ¶
Constants ¶
View Source
const ( CAConfigMapName = "flow-aggregator-ca" CAConfigMapKey = "ca.crt" CAConfigMapNamespace = "flow-aggregator" ClientSecretNamespace = "flow-aggregator" // #nosec G101: false positive triggered by variable name which includes "Secret" ClientSecretName = "flow-aggregator-client-tls" )
Variables ¶
View Source
var ( IANAInfoElementsCommon = []string{ "flowStartSeconds", "flowEndSeconds", "flowEndReason", "sourceTransportPort", "destinationTransportPort", "protocolIdentifier", "packetTotalCount", "octetTotalCount", "packetDeltaCount", "octetDeltaCount", } IANAInfoElementsIPv4 = append(IANAInfoElementsCommon, []string{"sourceIPv4Address", "destinationIPv4Address"}...) IANAInfoElementsIPv6 = append(IANAInfoElementsCommon, []string{"sourceIPv6Address", "destinationIPv6Address"}...) // IANAReverseInfoElements contain substring "reverse" which is an indication to get reverse element of go-ipfix library. IANAReverseInfoElements = []string{ "reversePacketTotalCount", "reverseOctetTotalCount", "reversePacketDeltaCount", "reverseOctetDeltaCount", } AntreaInfoElementsIPv4 = append(antreaInfoElementsCommon, []string{"destinationClusterIPv4"}...) AntreaInfoElementsIPv6 = append(antreaInfoElementsCommon, []string{"destinationClusterIPv6"}...) )
Functions ¶
This section is empty.
Types ¶
type FlowExporter ¶ added in v1.5.0
type FlowExporter struct {
// contains filtered or unexported fields
}
func NewFlowExporter ¶
func NewFlowExporter(podStore podstore.Interface, proxier proxy.Proxier, k8sClient kubernetes.Interface, nodeRouteController *noderoute.Controller, trafficEncapMode config.TrafficEncapModeType, nodeConfig *config.NodeConfig, v4Enabled, v6Enabled bool, serviceCIDRNet, serviceCIDRNetv6 *net.IPNet, ovsDatapathType ovsconfig.OVSDatapathType, proxyEnabled bool, npQuerier querier.AgentNetworkPolicyInfoQuerier, o *flowexporter.FlowExporterOptions, egressQuerier querier.EgressQuerier) (*FlowExporter, error)
func (*FlowExporter) GetDenyConnStore ¶ added in v1.5.0
func (exp *FlowExporter) GetDenyConnStore() *connections.DenyConnectionStore
func (*FlowExporter) Run ¶ added in v1.5.0
func (exp *FlowExporter) Run(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.