Documentation ¶
Index ¶
- type MdsServer
- func (m *MdsServer) MappingRegister(ctx context.Context, req *mesh_proto.MappingRegisterRequest) (*mesh_proto.MappingRegisterResponse, error)
- func (m *MdsServer) MappingSync(stream mesh_proto.MDSSyncService_MappingSyncServer) error
- func (m *MdsServer) MetadataRegister(ctx context.Context, req *mesh_proto.MetaDataRegisterRequest) (*mesh_proto.MetaDataRegisterResponse, error)
- func (m *MdsServer) MetadataSync(stream mesh_proto.MDSSyncService_MetadataSyncServer) error
- func (m *MdsServer) NeedLeaderElection() bool
- func (m *MdsServer) Start(stop <-chan struct{}) error
- type RegisterRequest
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) MappingRegister ¶
func (m *MdsServer) MappingRegister(ctx context.Context, req *mesh_proto.MappingRegisterRequest) (*mesh_proto.MappingRegisterResponse, error)
func (*MdsServer) MappingSync ¶
func (m *MdsServer) MappingSync(stream mesh_proto.MDSSyncService_MappingSyncServer) error
func (*MdsServer) MetadataRegister ¶
func (m *MdsServer) MetadataRegister(ctx context.Context, req *mesh_proto.MetaDataRegisterRequest) (*mesh_proto.MetaDataRegisterResponse, error)
func (*MdsServer) MetadataSync ¶
func (m *MdsServer) MetadataSync(stream mesh_proto.MDSSyncService_MetadataSyncServer) error
func (*MdsServer) NeedLeaderElection ¶
type RegisterRequest ¶
type RegisterRequest struct { MetadataConfigsUpdated map[core_model.ResourceKey]*mesh_proto.MetaData MappingConfigsUpdates map[core_model.ResourceKey]map[string]struct{} }
func (*RegisterRequest) Merge ¶
func (q *RegisterRequest) Merge(req *RegisterRequest) *RegisterRequest
Click to show internal directories.
Click to hide internal directories.