delegate

package
v3.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataReport

type MetadataReport struct {
	// contains filtered or unexported fields
}

MetadataReport is a absolute delegate for MetadataReport

func NewMetadataReport

func NewMetadataReport() (*MetadataReport, error)

NewMetadataReport will create a MetadataReport with initiation

func (*MetadataReport) GetAppMetadata

func (mr *MetadataReport) GetAppMetadata(identifier *identifier.SubscriberMetadataIdentifier) (*common.MetadataInfo, error)

GetAppMetadata delegate get metadata info

func (*MetadataReport) GetConfigKeysByGroup added in v3.1.1

func (mr *MetadataReport) GetConfigKeysByGroup(group string) (*gxset.HashSet, error)

func (*MetadataReport) GetExportedURLs

func (mr *MetadataReport) GetExportedURLs(identifier *identifier.ServiceMetadataIdentifier) ([]string, error)

GetExportedURLs will delegate to call remote metadata's sdk to get exported urls

func (*MetadataReport) GetServiceDefinition

func (mr *MetadataReport) GetServiceDefinition(identifier *identifier.MetadataIdentifier) (string, error)

GetServiceDefinition will delegate to call remote metadata's sdk to get service definitions

func (*MetadataReport) GetSubscribedURLs

func (mr *MetadataReport) GetSubscribedURLs(identifier *identifier.SubscriberMetadataIdentifier) ([]string, error)

GetSubscribedURLs will delegate to call remote metadata's sdk to get subscribed urls

func (*MetadataReport) PublishAppMetadata

func (mr *MetadataReport) PublishAppMetadata(identifier *identifier.SubscriberMetadataIdentifier, info *common.MetadataInfo) error

PublishAppMetadata delegate publish metadata info

func (*MetadataReport) RemoveServiceMetadata

func (mr *MetadataReport) RemoveServiceMetadata(identifier *identifier.ServiceMetadataIdentifier) error

RemoveServiceMetadata will delegate to call remote metadata's sdk to remove service metadata

func (*MetadataReport) SaveServiceMetadata

func (mr *MetadataReport) SaveServiceMetadata(identifier *identifier.ServiceMetadataIdentifier, url *common.URL) error

SaveServiceMetadata will delegate to call remote metadata's sdk to save service metadata

func (*MetadataReport) SaveSubscribedData

func (mr *MetadataReport) SaveSubscribedData(identifier *identifier.SubscriberMetadataIdentifier, urls []*common.URL) error

SaveSubscribedData will delegate to call remote metadata's sdk to save subscribed data

func (*MetadataReport) StoreConsumerMetadata

func (mr *MetadataReport) StoreConsumerMetadata(identifier *identifier.MetadataIdentifier, definer map[string]string)

StoreConsumerMetadata will delegate to call remote metadata's sdk to store consumer side service definition

func (*MetadataReport) StoreProviderMetadata

func (mr *MetadataReport) StoreProviderMetadata(identifier *identifier.MetadataIdentifier, definer definition.ServiceDefiner)

StoreProviderMetadata will delegate to call remote metadata's sdk to store provider service definition

Jump to

Keyboard shortcuts

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