migration

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package migration is for carrying out migrations against the database. To support Onepanel Core operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down20200525160514

func Down20200525160514(tx *sql.Tx) error

func Down20200528140124

func Down20200528140124(tx *sql.Tx) error

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

func Down20200605090509(tx *sql.Tx) error

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

func Down20200605090535(tx *sql.Tx) error

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

func Down20200626113635(tx *sql.Tx) error

Down20200626113635 removes the CVAT template update

func Up20200525160514

func Up20200525160514(tx *sql.Tx) error

func Up20200528140124

func Up20200528140124(tx *sql.Tx) error

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

func Up20200605090509(tx *sql.Tx) error

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

func Up20200605090535(tx *sql.Tx) error

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

func Up20200626113635(tx *sql.Tx) error

Up20200626113635 updates the CVAT template to a new version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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