utils

package
v0.0.0-...-c12b17c Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBError                    = "Error while fetching the information for the product from DB."
	FetchVersionsError         = "Error while fetching product versions"
	FetchLatestOsVersionError  = "Error while fetching the latest opensource version for the product."
	BadRequestError            = "Product information not found. Please check the input parameters."
	ChannelParamsError         = "Channel can only be stable or current"
	ArchitectureParamsError    = "Architecture (m) params cannot be empty"
	BOMParamsError             = "BOM (bom) params cannot be empty"
	PlatformParamsError        = "Platfrom (p) params cannot be empty"
	PlatformVersionParamsError = "Platform Version (pv) params cannot be empty"

	OmnitruckDataNotFoundError = "Requested data is not found. Please check the input parameters"
	OmnitruckApiError          = "Error while fetching omnitruck data"
	OmnitruckReqError          = "Error while creating request for omnitruck"

	LicenseReqError                 = "Error while creating request for License validation"
	LicenseApiError                 = "Error while validating License"
	ErrorWhileFetchingLatestVersion = "Error while fetching the latest version for the "
)

Variables

This section is empty.

Functions

func AddLogFields

func AddLogFields(caller string, requestId string, logger logger.Logger) *logrus.Entry

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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