Documentation ¶
Index ¶
- func CombineEnvResources() error
- func ConvertCmToResource(cms []*models.EnvConfigMap) []*models.EnvResource
- func ConvertIngToResource(ings []*models.EnvIngress) []*models.EnvResource
- func ConvertPVCToResource(pvcs []*models.EnvPvc) []*models.EnvResource
- func ConvertSecretToResource(secrets []*models.EnvSecret) []*models.EnvResource
- func RemoveEnvResource() error
- func RevertServiceCounter(allServices []*models.Service) error
- func UpdateServiceCounter(allServices []*models.Service) error
- func V1100ToV1110() error
- func V1100ToV190() error
- func V1110ToV1100() error
- func V1110ToV1120() error
- func V1120ToV1110() error
- func V1120ToV1130() error
- func V1130ToV1120() error
- func V1140ToV1150() error
- func V1150ToV1140() error
- func V130ToV131() error
- func V131ToV130() error
- func V131ToV140() error
- func V140ToV131() error
- func V140ToV150() error
- func V150ToV140() error
- func V160ToV170() error
- func V170ToV160() error
- func V171ToV180() error
- func V180ToV171() error
- func V190ToV1100() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineEnvResources ¶ added in v1.9.9
func CombineEnvResources() error
func ConvertCmToResource ¶ added in v1.9.9
func ConvertCmToResource(cms []*models.EnvConfigMap) []*models.EnvResource
func ConvertIngToResource ¶ added in v1.9.9
func ConvertIngToResource(ings []*models.EnvIngress) []*models.EnvResource
func ConvertPVCToResource ¶ added in v1.9.9
func ConvertPVCToResource(pvcs []*models.EnvPvc) []*models.EnvResource
func ConvertSecretToResource ¶ added in v1.9.9
func ConvertSecretToResource(secrets []*models.EnvSecret) []*models.EnvResource
func RemoveEnvResource ¶ added in v1.9.9
func RemoveEnvResource() error
func RevertServiceCounter ¶
func UpdateServiceCounter ¶
func V1100ToV1110 ¶ added in v1.11.0
func V1100ToV1110() error
func V1100ToV190 ¶ added in v1.10.0
func V1100ToV190() error
func V1110ToV1100 ¶ added in v1.11.0
func V1110ToV1100() error
func V1110ToV1120 ¶ added in v1.9.9
func V1110ToV1120() error
func V1120ToV1110 ¶ added in v1.9.9
func V1120ToV1110() error
func V1120ToV1130 ¶ added in v1.9.9
func V1120ToV1130() error
func V1130ToV1120 ¶ added in v1.9.9
func V1130ToV1120() error
func V1140ToV1150 ¶ added in v1.9.9
func V1140ToV1150() error
func V1150ToV1140 ¶ added in v1.9.9
func V1150ToV1140() error
func V130ToV131 ¶
func V130ToV131() error
V130ToV131 migrates data from v1.3.0 to v1.3.1 with the following tasks: 1. Add field `SharedServices` for all projects 2. Add field `ProductName` in field `Services` for all envs 3. Change the ServiceTemplateCounterName format
func V131ToV130 ¶
func V131ToV130() error
V131ToV130 rollbacks the changes from v1.3.1 to v1.3.0 with the following tasks: 1. Remove field `SharedServices` for all projects 2. Remove field `ProductName` in field `Services` for all envs 3. Revert the ServiceTemplateCounterName format
func V131ToV140 ¶ added in v1.4.0
func V131ToV140() error
func V140ToV131 ¶ added in v1.4.0
func V140ToV131() error
func V140ToV150 ¶ added in v1.5.0
func V140ToV150() error
V140ToV150 fill image path data for old data in product.services.containers use preset rules as patterns: {"image": "repository", "tag": "tag"}, {"image": "image"}
func V150ToV140 ¶ added in v1.5.0
func V150ToV140() error
func V160ToV170 ¶ added in v1.7.0
func V160ToV170() error
V160ToV170 refreshes the secret of all webhooks
func V170ToV160 ¶ added in v1.7.0
func V170ToV160() error
func V171ToV180 ¶ added in v1.8.0
func V171ToV180() error
V171ToV180 update all the roleBinding names in this format "{uid}-{roleName}-{roleNamespace}" Caution: this migration contains unrecoverable changes, please back up the database in advance
func V180ToV171 ¶ added in v1.8.0
func V180ToV171() error
func V190ToV1100 ¶ added in v1.10.0
func V190ToV1100() error
V190ToV1100 migrates data `caches` and `pre_build.clean_workspace` fields in `zadig.module_build` and `zadig.module_testing` to new fields `cache_enable`, `cache_dir_type` and `cache_user_dir`; generate labelBindings for production environment
Types ¶
This section is empty.