migrationscripts

package
v0.13.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v0.12.0

func All() []migration.Script

All return all the migration scripts

Types

type JenkinsBuild0729 added in v0.13.0

type JenkinsBuild0729 struct {
	TriggeredBy string `gorm:"type:varchar(255)"`
	Type        string `gorm:"index;type:varchar(255)" `
	Class       string `gorm:"index;type:varchar(255)" `
	HasStages   bool
	Building    bool
}

JenkinsBuild db entity for jenkins build

func (JenkinsBuild0729) TableName added in v0.13.0

func (JenkinsBuild0729) TableName() string

type JenkinsBuildRepo0729 added in v0.13.0

type JenkinsBuildRepo0729 struct {
	ConnectionId uint64 `gorm:"primaryKey"`
	BuildName    string `gorm:"primaryKey;type:varchar(255)"`
	CommitSha    string `gorm:"primaryKey;type:varchar(255)"`
	Branch       string `gorm:"type:varchar(255)"`
	RepoUrl      string `gorm:"type:varchar(255)"`
	archived.NoPKModel
}

func (JenkinsBuildRepo0729) TableName added in v0.13.0

func (JenkinsBuildRepo0729) TableName() string

type JenkinsJobDag0729 added in v0.13.0

type JenkinsJobDag0729 struct {
	ConnetionId   uint64 `gorm:"primaryKey"`
	UpstreamJob   string `gorm:"primaryKey;type:varchar(255)"`
	DownstreamJob string `gorm:"primaryKey;type:varchar(255)"`
	archived.NoPKModel
}

func (JenkinsJobDag0729) TableName added in v0.13.0

func (JenkinsJobDag0729) TableName() string

type JenkinsStage0729 added in v0.13.0

type JenkinsStage0729 struct {
	archived.NoPKModel
	ConnectionId        uint64 `gorm:"primaryKey"`
	ID                  string `json:"id" gorm:"primaryKey;type:varchar(255)"`
	Name                string `json:"name" gorm:"type:varchar(255)"`
	ExecNode            string `json:"execNode" gorm:"type:varchar(255)"`
	Status              string `json:"status" gorm:"type:varchar(255)"`
	StartTimeMillis     int64  `json:"startTimeMillis"`
	DurationMillis      int    `json:"durationMillis"`
	PauseDurationMillis int    `json:"pauseDurationMillis"`
	BuildName           string `gorm:"primaryKey;type:varchar(255)"`
	Type                string `gorm:"index;type:varchar(255)"`
}

func (JenkinsStage0729) TableName added in v0.13.0

func (JenkinsStage0729) TableName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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