migrate

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RevertServiceCounter

func RevertServiceCounter(allServices []*models.Service) error

func UpdateServiceCounter

func UpdateServiceCounter(allServices []*models.Service) 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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