delegate

package
v1.5.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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) 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