remote

package
v3.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRemoteMetadataService

func GetRemoteMetadataService() (service.RemoteMetadataService, error)

GetRemoteMetadataService will create a new remote MetadataService instance

Types

type MetadataService

type MetadataService struct {
	*local.MetadataService
	// contains filtered or unexported fields
}

func (*MetadataService) GetMetadata

func (s *MetadataService) GetMetadata(instance registry.ServiceInstance) (*common.MetadataInfo, error)

GetMetadata get the medata info of service from report

func (*MetadataService) PublishMetadata

func (s *MetadataService) PublishMetadata(service string)

PublishMetadata publishes the metadata info of @service to remote metadata center

func (*MetadataService) PublishServiceDefinition

func (s *MetadataService) PublishServiceDefinition(url *common.URL) error

PublishServiceDefinition will call remote metadata's StoreProviderMetadata to store url info and service definition

Jump to

Keyboard shortcuts

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