monitor

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVICE_NAME  = "antrea"
	POD_NAME      = "POD_NAME"
	POD_NAMESPACE = "POD_NAMESPACE"
	NODE_NAME     = "NODE_NAME"
)

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,
) monitor

func NewControllerMonitor

func NewControllerMonitor(client clientset.Interface, nodeInformer coreinformers.NodeInformer) monitor

Types

type AgentQuerier

type AgentQuerier interface {
	Querier
	GetOVSFlowTable() map[string]int32
	GetLocalPodNum() int32
}

type ControllerQuerier

type ControllerQuerier interface {
	Querier
	GetService() v1.ObjectReference
}

type Querier

type Querier interface {
	GetSelfPod() v1.ObjectReference
	GetSelfNode() v1.ObjectReference
}

Querier provides interface for both monitor CRD and CLI to consume controller and agent status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL