listener

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SoOriginalDst = 80
)

Variables

This section is empty.

Functions

func GetServiceServer

func GetServiceServer(svcName string) string

GetServiceServer returns the proxy IP by given service name

func Init

func Init()

func MsgProcess

func MsgProcess(msg model.Message)

MsgProcess processes messages from metaManager

func Start

func Start()

Start starts the EdgeMesh listener

Types

type SvcDescription

type SvcDescription struct {
	sync.RWMutex
	SvcPortsByIP map[string]string // key: fakeIP, value: SvcPorts
	IPBySvc      map[string]string // key: svcName.svcNamespace, value: fakeIP
}

Jump to

Keyboard shortcuts

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