instance

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetadataReportByRegistryProtocol

func GetMetadataReportByRegistryProtocol(protocol string) report.MetadataReport

GetMetadataReportByRegistryProtocol obtain metadata report instance through registry config

func GetMetadataReportInstance

func GetMetadataReportInstance(selectiveUrl ...*common.URL) report.MetadataReport

GetMetadataReportInstance will return the instance in lazy mode. Be careful the instance create will only execute once.

func GetMetadataReportUrl

func GetMetadataReportUrl() *common.URL

GetMetadataReportUrl will return the report instance url

func SetMetadataReportInstanceByReg

func SetMetadataReportInstanceByReg(url *common.URL)

SetMetadataReportInstanceByReg set metadata reporting instances by registering urls

func SetMetadataReportUrl

func SetMetadataReportUrl(url *common.URL)

SetMetadataReportUrl will only can be used by unit test to mock url

Types

This section is empty.

Jump to

Keyboard shortcuts

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