Documentation
¶
Index ¶
- func GetConfigKey(configKeyStr bean.ConfigKeyStr) bean.ConfigKey
- func GetConfigKeyStr(configKey bean.ConfigKey) bean.ConfigKeyStr
- func GetDefaultConfigKeysMap() map[bean.ConfigKeyStr]bool
- func GetTypedValue(configKey bean.ConfigKeyStr, value interface{}) (interface{}, error)
- func GetUnitSuffix(unitKey bean.ConfigKeyStr, unitStr string) units.UnitSuffix
- func GetUnitSuffixStr(unitKey bean.ConfigKey, unit units.UnitSuffix) string
- func IsValidProfileNameRequested(profileName, payloadProfileName string) bool
- func IsValidProfileNameRequestedV0(profileName, payloadProfileName string) bool
- func ValidatePayloadConfig(profileToUpdate *bean.ProfileBeanDto) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigKey ¶
func GetConfigKey(configKeyStr bean.ConfigKeyStr) bean.ConfigKey
func GetConfigKeyStr ¶
func GetConfigKeyStr(configKey bean.ConfigKey) bean.ConfigKeyStr
func GetDefaultConfigKeysMap ¶
func GetDefaultConfigKeysMap() map[bean.ConfigKeyStr]bool
GetDefaultConfigKeysMap returns a map of default config keys
func GetTypedValue ¶ added in v1.2.1
func GetTypedValue(configKey bean.ConfigKeyStr, value interface{}) (interface{}, error)
func GetUnitSuffix ¶
func GetUnitSuffix(unitKey bean.ConfigKeyStr, unitStr string) units.UnitSuffix
GetUnitSuffix loosely typed method to get the unit suffix using the unitKey type
func GetUnitSuffixStr ¶
func GetUnitSuffixStr(unitKey bean.ConfigKey, unit units.UnitSuffix) string
GetUnitSuffixStr loosely typed method to get the unit suffix using the unitKey type
func IsValidProfileNameRequested ¶ added in v1.2.1
func IsValidProfileNameRequestedV0 ¶ added in v1.2.1
func ValidatePayloadConfig ¶ added in v1.2.1
func ValidatePayloadConfig(profileToUpdate *bean.ProfileBeanDto) error
todo remove this validation, as it is written additionally due to validator v9.30.0 constraint for map[string]*struct is not handled
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.