metadata

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNameMappingInstance

func GetNameMappingInstance() mapping.ServiceNameMapping

GetNameMappingInstance return an instance, if not found, it creates one

Types

type MetadataServiceNameMapping

type MetadataServiceNameMapping struct {
}

MetadataServiceNameMapping is the implementation based on metadata report it's a singleton

func (*MetadataServiceNameMapping) Get

Get will return the application-level services. If not found, the empty set will be returned.

func (*MetadataServiceNameMapping) Map

Map will map the service to this application-level service

func (*MetadataServiceNameMapping) Remove added in v3.1.0

func (d *MetadataServiceNameMapping) Remove(url *common.URL) error

Jump to

Keyboard shortcuts

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