v1_1_2_a_pipeline_workspace_chg_code

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MigrateVersion = "v1.1.3_a"

Functions

func Migrate

func Migrate(db *gorm.DB) error

Types

type PipelineRunJob

type PipelineRunJob struct {
	SpaceletId uint `gorm:""`
}

type Spacelet

type Spacelet struct {
	ID         uint      `gorm:"primaryKey" json:"id"`
	Hostname   string    `gorm:"size:255;not null;" json:"hostname"`
	HostIp     string    `gorm:"size:255;not null;uniqueIndex:HostPortUnique" json:"hostip"`
	Port       int       `gorm:"not null;uniqueIndex:HostPortUnique" json:"port"`
	Token      string    `gorm:"size:255;not null;" json:"token"`
	Status     string    `gorm:"size:50;not null" json:"status"`
	CreateTime time.Time `gorm:"column:create_time;not null;autoCreateTime" json:"create_time"`
	UpdateTime time.Time `gorm:"column:update_time;not null;autoUpdateTime" json:"update_time"`
}

func (Spacelet) TableName

func (Spacelet) TableName() string

Jump to

Keyboard shortcuts

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