util

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigKeyPlatformMap added in v1.2.2

func CreateConfigKeyPlatformMap(configs []*repository.InfraProfileConfigurationEntity) map[v1.ConfigKeyPlatformKey]bool

func GetConfigCompositeKey added in v1.2.2

func GetConfigCompositeKey(config *repository.InfraProfileConfigurationEntity) string

func GetConfigKey

func GetConfigKey(configKeyStr v1.ConfigKeyStr) v1.ConfigKey

func GetConfigKeyStr

func GetConfigKeyStr(configKey v1.ConfigKey) v1.ConfigKeyStr

func GetConfigKeysMapForPlatform added in v1.2.2

func GetConfigKeysMapForPlatform(platform string) v1.InfraConfigKeys

GetConfigKeysMapForPlatform returns a map of config keys supported for a given platform

func GetDefaultConfigKeysMapV0 added in v1.2.2

func GetDefaultConfigKeysMapV0() map[v1.ConfigKeyStr]bool

GetDefaultConfigKeysMapV0 returns a map of default config keys

func GetMandatoryConfigKeys added in v1.2.2

func GetMandatoryConfigKeys(profileName, platformName string) []v1.ConfigKeyStr

func GetMissingRequiredConfigKeys added in v1.2.2

func GetMissingRequiredConfigKeys(profileName, platformName string, configuredKeys v1.InfraConfigKeys) []v1.ConfigKeyStr

func GetUnitSuffix

func GetUnitSuffix(unitKey v1.ConfigKeyStr, unitStr string) unitsBean.UnitType

GetUnitSuffix loosely typed method to get the unit suffix using the unitKey type

func GetUnitSuffixStr

func GetUnitSuffixStr(unitKey v1.ConfigKey, unit unitsBean.UnitType) string

GetUnitSuffixStr loosely typed method to get the unit suffix using the unitKey type

func IsValidProfileNameRequested added in v1.2.1

func IsValidProfileNameRequested(profileName, payloadProfileName string) bool

func IsValidProfileNameRequestedV0 added in v1.2.1

func IsValidProfileNameRequestedV0(profileName, payloadProfileName string) bool

func ValidatePayloadConfig added in v1.2.1

func ValidatePayloadConfig(profileToUpdate *v1.ProfileBeanDto) error

ValidatePayloadConfig - validates the payload configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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