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 }
type AgentQuerier ¶
type ControllerNetworkPolicyInfoQuerier ¶ added in v0.3.0
type ControllerNetworkPolicyInfoQuerier interface { NetworkPolicyInfoQuerier GetConnectedAgentNum() int }
type ControllerQuerier ¶
type ControllerQuerier interface { Querier GetService() v1.ObjectReference }
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.