instance

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: 5 Imported by: 4

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() report.MetadataReport

func GetMetadataReportUrl

func GetMetadataReportUrl() *common.URL

GetMetadataReportUrl will return the report instance url

func SetMetadataReportInstance added in v3.1.0

func SetMetadataReportInstance(selectiveUrl ...*common.URL)

SetMetadataReportInstance, init metadat report instance

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