server

package
v0.0.0-...-bf260ca Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MdsServer

type MdsServer struct {
	mesh_proto.MDSSyncServiceServer
	// contains filtered or unexported fields
}

func NewMdsServer

func NewMdsServer(
	ctx context.Context,
	config dubbo.DubboConfig,
	pusher pusher.Pusher,
	manager kube_ctrl.Manager,
	converter k8s_common.Converter,
	resourceManager manager.ResourceManager,
	transactions core_store.Transactions,
	localZone string,
	systemNamespace string,
) *MdsServer

func (*MdsServer) MappingSync

func (*MdsServer) MetadataSync

func (*MdsServer) NeedLeaderElection

func (m *MdsServer) NeedLeaderElection() bool

func (*MdsServer) Start

func (m *MdsServer) Start(stop <-chan struct{}) error

type RegisterRequest

type RegisterRequest struct {
	MetadataConfigsUpdated map[core_model.ResourceKey]*mesh_proto.MetaData
	MappingConfigsUpdates  map[core_model.ResourceKey]map[string]struct{}
}

func (*RegisterRequest) Merge

Jump to

Keyboard shortcuts

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