Documentation ¶
Index ¶
- func NewAgentMonitor(client clientset.Interface, ovsBridge string, nodeName string, ...) *agentMonitor
- func NewControllerMonitor(client clientset.Interface, nodeInformer coreinformers.NodeInformer, ...) *controllerMonitor
- type AgentNetworkPolicyInfoQuerier
- type AgentQuerier
- type ControllerNetworkPolicyInfoQuerier
- type ControllerQuerier
- type NetworkPolicyInfoQuerier
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentMonitor ¶
func NewAgentMonitor( client clientset.Interface, ovsBridge string, nodeName string, nodeSubnet string, interfaceStore interfacestore.InterfaceStore, ofClient openflow.Client, ovsBridgeClient ovsconfig.OVSBridgeClient, networkPolicyInfoQuerier AgentNetworkPolicyInfoQuerier, ) *agentMonitor
func NewControllerMonitor ¶
func NewControllerMonitor(client clientset.Interface, nodeInformer coreinformers.NodeInformer, networkPolicyInfoQuerier ControllerNetworkPolicyInfoQuerier) *controllerMonitor
Types ¶
type AgentNetworkPolicyInfoQuerier ¶ added in v0.3.0
type AgentNetworkPolicyInfoQuerier interface { NetworkPolicyInfoQuerier GetControllerConnectionStatus() bool GetNetworkPolicies() []networkingv1beta1.NetworkPolicy GetAddressGroups() []networkingv1beta1.AddressGroup GetAppliedToGroups() []networkingv1beta1.AppliedToGroup }
type AgentQuerier ¶
type AgentQuerier interface { Querier GetOVSFlowTable() map[string]int32 GetLocalPodNum() int32 GetAgentInfo() *v1beta1.AntreaAgentInfo GetInterfaceStore() interfacestore.InterfaceStore }
type ControllerNetworkPolicyInfoQuerier ¶ added in v0.3.0
type ControllerNetworkPolicyInfoQuerier interface { NetworkPolicyInfoQuerier GetConnectedAgentNum() int }
type ControllerQuerier ¶
type ControllerQuerier interface { Querier GetService() v1.ObjectReference GetControllerInfo() *v1beta1.AntreaControllerInfo }
type NetworkPolicyInfoQuerier ¶ added in v0.3.0
type Querier ¶
type Querier interface { GetSelfPod() v1.ObjectReference GetSelfNode() v1.ObjectReference GetNetworkPolicyControllerInfo() v1beta1.NetworkPolicyControllerInfo GetVersion() string }
Querier provides interface for both monitor CRD and CLI to consume controller and agent status.
Click to show internal directories.
Click to hide internal directories.