monitor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 11 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 agent.InterfaceStore, ofClient openflow.Client) *agentMonitor

func NewControllerMonitor

func NewControllerMonitor(client clientset.Interface) *controllerMonitor

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