Documentation ¶
Overview ¶
Package migration is for carrying out migrations against the database. To support Onepanel Core operations.
Index ¶
- func Down20200525160514(tx *sql.Tx) error
- func Down20200528140124(tx *sql.Tx) error
- func Down20200605090509(tx *sql.Tx) error
- func Down20200605090535(tx *sql.Tx) error
- func Down20200626113635(tx *sql.Tx) error
- func Up20200525160514(tx *sql.Tx) error
- func Up20200528140124(tx *sql.Tx) error
- func Up20200605090509(tx *sql.Tx) error
- func Up20200605090535(tx *sql.Tx) error
- func Up20200626113635(tx *sql.Tx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Down20200525160514 ¶
func Down20200528140124 ¶
Down20200528140124 will attempt to remove cvatTemplate from each user. Each user is determined by onepanel enabled namespaces. DB entries are archived, K8S components are deleted. Active workspaces with that template are terminated. Any errors reported are logged as fatal.
func Down20200605090509 ¶
Down20200605090509 will attempt to remove Pytorch workflow from each user. Each user is determined by onepanel enabled namespaces. DB entries are archived, K8S components are deleted. Active workflows with that template are terminated. Any errors reported are logged as fatal.
func Down20200605090535 ¶
Down20200605090535 will attempt to remove tensorflow workflow from each user. Each user is determined by onepanel enabled namespaces. DB entries are archived, K8S components are deleted. Active workflows with that template are terminated. Any errors reported are logged as fatal.
func Down20200626113635 ¶ added in v0.11.0
Down20200626113635 removes the CVAT template update
func Up20200525160514 ¶
func Up20200528140124 ¶
Up20200528140124 will insert the cvatTemplate to each user. Each user is determined by onepanel enabled namespaces. Any errors reported are logged as fatal.
func Up20200605090509 ¶
Up20200605090509 will insert a Pytorch workflow template to each user. Each user is determined by onepanel enabled namespaces. Any errors reported are logged as fatal.
func Up20200605090535 ¶
Up20200605090535 will insert a tensorflow workflow template to each user. Each user is determined by onepanel enabled namespaces. Any errors reported are logged as fatal.
func Up20200626113635 ¶ added in v0.11.0
Up20200626113635 updates the CVAT template to a new version.
Types ¶
This section is empty.