errors

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

View Source
const (
	PayloadValidationError            = "payload validation failed"
	InvalidProfileName                = "profile name is invalid"
	ProfileDoNotExists                = "profile does not exist"
	InvalidProfileNameChangeRequested = "invalid profile name change requested"
	ProfileAlreadyExistsErr           = "profile already exists"
	DeletionBlockedForDefaultPlatform = "cannot delete default platform configuration"
	UpdatableConfigurationFoundErr    = "updatable configuration not belongs to platform"
)
View Source
const CPULimReqErrorCompErr = "cpu limit should not be less than cpu request"
View Source
const MEMLimReqErrorCompErr = "memory limit should not be less than memory request"

Variables

View Source
var NoPropertiesFoundError = errors.New("no properties found")
View Source
var ProfileIdsRequired = errors.New("profile ids cannot be empty")

Functions

func ConfigurationMissingError

func ConfigurationMissingError(missingKey v1.ConfigKeyStr, profileName, platformName string) string

func InvalidUnitFound

func InvalidUnitFound(unit string, key v1.ConfigKeyStr) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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