models

package
v0.9.0-test Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JenkinsBuild

type JenkinsBuild struct {
	common.NoPKModel
	JobName           string  `gorm:"primaryKey;type:varchar(255)"`
	Duration          float64 // build time
	DisplayName       string  // "#7"
	EstimatedDuration float64
	Number            int64 `gorm:"primaryKey;type:INT(10) UNSIGNED NOT NULL"`
	Result            string
	Timestamp         int64     // start time
	StartTime         time.Time // convered by timestamp
	CommitSha         string
}

JenkinsBuild db entity for jenkins build

type JenkinsBuildProps

type JenkinsBuildProps struct {
	Duration          float64 // build time
	DisplayName       string  // "#7"
	EstimatedDuration float64
	Number            int64
	Result            string
	Timestamp         int64     // start time
	StartTime         time.Time // convered by timestamp
	CommitSha         string
}

JenkinsBuildProps current used jenkins build props

type JenkinsJob

type JenkinsJob struct {
	JenkinsJobProps
	common.NoPKModel
}

JenkinsJob db entity for jenkins job

type JenkinsJobProps

type JenkinsJobProps struct {
	Name  string `gorm:"primaryKey;type:varchar(255)"`
	Class string
	Color string
	Base  string
}

JenkinsJobProps current used jenkins job props

Jump to

Keyboard shortcuts

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