Help us shape the future of Go! Take the 2026 Go Developer Survey

adapter

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

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.

Jump to

Keyboard shortcuts

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