Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetadataServiceExporter ¶
func NewMetadataServiceExporter(metadataService service.MetadataService) exporter.MetadataServiceExporter
NewMetadataServiceExporter will return a service_exporter.MetadataServiceExporter with the specified metadata service
Types ¶
type MetadataServiceExporter ¶
type MetadataServiceExporter struct { ServiceConfig *config.ServiceConfig // contains filtered or unexported fields }
MetadataServiceExporter is the ConfigurableMetadataServiceExporter which implement MetadataServiceExporter interface
func (*MetadataServiceExporter) Export ¶
func (exporter *MetadataServiceExporter) Export(url *common.URL) error
Export will export the metadataService
func (*MetadataServiceExporter) GetExportedURLs ¶
func (exporter *MetadataServiceExporter) GetExportedURLs() []*common.URL
GetExportedURLs will return the urls that export use. Notice!The exported url is not same as url in registry , for example it lack the ip.
func (*MetadataServiceExporter) IsExported ¶
func (exporter *MetadataServiceExporter) IsExported() bool
IsExported will return is metadataServiceExporter exported or not
func (*MetadataServiceExporter) Unexport ¶
func (exporter *MetadataServiceExporter) Unexport()
Unexport will unexport the metadataService
Click to show internal directories.
Click to hide internal directories.