Documentation ¶
Index ¶
- type MetadataReport
- func (mr *MetadataReport) GetExportedURLs(identifier *identifier.ServiceMetadataIdentifier) ([]string, error)
- func (mr *MetadataReport) GetServiceDefinition(identifier *identifier.MetadataIdentifier) (string, error)
- func (mr *MetadataReport) GetSubscribedURLs(identifier *identifier.SubscriberMetadataIdentifier) ([]string, error)
- func (mr *MetadataReport) RemoveServiceMetadata(identifier *identifier.ServiceMetadataIdentifier) error
- func (mr *MetadataReport) SaveServiceMetadata(identifier *identifier.ServiceMetadataIdentifier, url *common.URL) error
- func (mr *MetadataReport) SaveSubscribedData(identifier *identifier.SubscriberMetadataIdentifier, urls []*common.URL) error
- func (mr *MetadataReport) StoreConsumerMetadata(identifier *identifier.MetadataIdentifier, definer map[string]string)
- func (mr *MetadataReport) StoreProviderMetadata(identifier *identifier.MetadataIdentifier, definer definition.ServiceDefiner)
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