Documentation
¶
Index ¶
- func ConvertFromPlatformMap(platformMap map[string][]*bean.ConfigurationBean, ...) []*repository.InfraProfileConfigurationEntity
- func ConvertToInfraProfileEntity(profileBean *bean.ProfileBeanDto) *repository.InfraProfileEntity
- func ConvertToPlatformMap(...) (map[string][]*bean.ConfigurationBean, error)
- func ConvertToProfileBean(infraProfile *repository.InfraProfileEntity) bean.ProfileBeanDto
- func FormatTypedValueAsString(configKey bean.ConfigKeyStr, configValue interface{}) string
- func GetConfigurationBean(infraProfileConfiguration *repository.InfraProfileConfigurationEntity, ...) (*bean.ConfigurationBean, error)
- func GetV0ConfigurationBeans(configBeans []*bean.ConfigurationBean) []bean.ConfigurationBeanV0
- func GetV0ProfileBean(profileBean *bean.ProfileBeanDto) *bean.ProfileBeanV0
- func GetV1ConfigurationBeans(configBeans []bean.ConfigurationBeanV0, profileName string) []*bean.ConfigurationBean
- func GetV1ProfileBean(profileBean *bean.ProfileBeanV0) *bean.ProfileBeanDto
- func LoadCiLimitCpu(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
- func LoadCiLimitMem(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
- func LoadCiReqCpu(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
- func LoadCiReqMem(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
- func LoadDefaultTimeout(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
- func LoadInfraConfigInEntities(infraConfig *bean.InfraConfig, nodeSelectorLabel []string, ...) ([]*repository.InfraProfileConfigurationEntity, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFromPlatformMap ¶
func ConvertFromPlatformMap(platformMap map[string][]*bean.ConfigurationBean, profileBean *bean.ProfileBeanDto, userId int32) []*repository.InfraProfileConfigurationEntity
ConvertFromPlatformMap converts map[platform][]*ConfigurationBean back to []InfraProfileConfigurationEntity
func ConvertToInfraProfileEntity ¶ added in v1.2.1
func ConvertToInfraProfileEntity(profileBean *bean.ProfileBeanDto) *repository.InfraProfileEntity
func ConvertToPlatformMap ¶
func ConvertToPlatformMap(infraProfileConfigurationEntities []*repository.InfraProfileConfigurationEntity, profileName string) (map[string][]*bean.ConfigurationBean, error)
func ConvertToProfileBean ¶ added in v1.2.1
func ConvertToProfileBean(infraProfile *repository.InfraProfileEntity) bean.ProfileBeanDto
func FormatTypedValueAsString ¶ added in v1.2.1
func FormatTypedValueAsString(configKey bean.ConfigKeyStr, configValue interface{}) string
func GetConfigurationBean ¶ added in v1.2.1
func GetConfigurationBean(infraProfileConfiguration *repository.InfraProfileConfigurationEntity, profileName string) (*bean.ConfigurationBean, error)
func GetV0ConfigurationBeans ¶
func GetV0ConfigurationBeans(configBeans []*bean.ConfigurationBean) []bean.ConfigurationBeanV0
func GetV0ProfileBean ¶
func GetV0ProfileBean(profileBean *bean.ProfileBeanDto) *bean.ProfileBeanV0
func GetV1ConfigurationBeans ¶
func GetV1ConfigurationBeans(configBeans []bean.ConfigurationBeanV0, profileName string) []*bean.ConfigurationBean
func GetV1ProfileBean ¶
func GetV1ProfileBean(profileBean *bean.ProfileBeanV0) *bean.ProfileBeanDto
func LoadCiLimitCpu ¶ added in v1.2.1
func LoadCiLimitCpu(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
func LoadCiLimitMem ¶ added in v1.2.1
func LoadCiLimitMem(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
func LoadCiReqCpu ¶ added in v1.2.1
func LoadCiReqCpu(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
func LoadCiReqMem ¶ added in v1.2.1
func LoadCiReqMem(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
func LoadDefaultTimeout ¶ added in v1.2.1
func LoadDefaultTimeout(infraConfig *bean.InfraConfig) (*repository.InfraProfileConfigurationEntity, error)
func LoadInfraConfigInEntities ¶ added in v1.2.1
func LoadInfraConfigInEntities(infraConfig *bean.InfraConfig, nodeSelectorLabel []string, taintKey, taintValue string) ([]*repository.InfraProfileConfigurationEntity, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.