registry

package
v0.0.0-...-32ff608 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Type = "registry"

Functions

This section is empty.

Types

type EventMeshDataInfo

type EventMeshDataInfo struct {
	EventMeshClusterName string
	EventMeshName        string
	Endpoint             string
	LastUpdateTimestamp  time.Time
	Metadata             map[string]string
}

type EventMeshRegisterInfo

type EventMeshRegisterInfo struct {
	EventMeshClusterName    string
	EventMeshName           string
	EndPoint                string
	EventMeshInstanceNumMap map[string]map[string]int
	Metadata                map[string]string
	ProtocolType            string
}

type EventMeshUnRegisterInfo

type EventMeshUnRegisterInfo struct {
	EventMeshClusterName string
	EventMeshName        string
	EndPoint             string
	ProtocolType         string
}

type Interface

type Interface interface {
	Init() error
	Start() error
	Shutdown() error
	FindEventMeshInfoByCluster(clusterName string) ([]*EventMeshDataInfo, error)
	FindAllEventMeshInfo() ([]*EventMeshDataInfo, error)
	FindEventMeshClientDistributionData(clusterName, group, purpose string) (map[string]map[string]int, error)
	RegisterMetadata(map[string]string)
	Register(info *EventMeshRegisterInfo) error
	UnRegister(info *EventMeshUnRegisterInfo) error
}

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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