configurable

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

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

Jump to

Keyboard shortcuts

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