migration

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TryToMigrate

func TryToMigrate(repoPath string) error

TryToMigrate used to migrate data(db,config,file,etc) in local repo

func Version10Upgrade added in v1.9.0

func Version10Upgrade(repoPath string) (err error)

Version10Upgrade will ignore some fields in the parameters structure of the config.json file

func Version11Upgrade added in v1.10.0

func Version11Upgrade(repoPath string) (err error)

Version11Upgrade will add actor event config

func Version12Upgrade added in v1.14.0

func Version12Upgrade(repoPath string) (err error)

Version12Upgrade will modify mainnet bootstrap

func Version3Upgrade

func Version3Upgrade(repoPath string) error

Version3Upgrade 3 for a config filed named apiAuthUrl

func Version4Upgrade added in v1.0.4

func Version4Upgrade(repoPath string) (err error)

func Version5Upgrade added in v1.1.0

func Version5Upgrade(repoPath string) (err error)

Version5Upgrade

func Version6Upgrade added in v1.1.0

func Version6Upgrade(repoPath string) (err error)

Version6Upgrade

func Version7Upgrade added in v1.2.0

func Version7Upgrade(repoPath string) (err error)

Version7Upgrade

func Version8Upgrade added in v1.6.0

func Version8Upgrade(repoPath string) (err error)

Version8Upgrade

func Version9Upgrade added in v1.8.0

func Version9Upgrade(repoPath string) (err error)

Version9Upgrade

Types

type UpgradeFunc

type UpgradeFunc func(string) error

Jump to

Keyboard shortcuts

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