archived

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

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more 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 {
	archived.NoPKModel

	// collected fields
	ConnectionId      uint64    `gorm:"primaryKey"`
	JobName           string    `gorm:"primaryKey;type:varchar(255)"`
	Duration          float64   // build time
	DisplayName       string    `gorm:"type:varchar(255)"`
	EstimatedDuration float64   // EstimatedDuration
	Number            int64     `gorm:"primaryKey"`
	Result            string    // Result
	Timestamp         int64     // start time
	StartTime         time.Time // convered by timestamp
	CommitSha         string    `gorm:"type:varchar(255)"`
}

JenkinsBuild db entity for jenkins build

func (JenkinsBuild) TableName

func (JenkinsBuild) TableName() string

type JenkinsConnection

type JenkinsConnection struct {
	archived.BaseConnection
	archived.RestConnection
	archived.BasicAuth
}

This object conforms to what the frontend currently sends.

func (JenkinsConnection) TableName

func (JenkinsConnection) TableName() string

type JenkinsJob

type JenkinsJob struct {
	JenkinsJobProps
	archived.NoPKModel
}

JenkinsJob db entity for jenkins job

func (JenkinsJob) TableName

func (JenkinsJob) TableName() string

type JenkinsJobProps

type JenkinsJobProps struct {
	// collected fields
	ConnectionId uint64 `gorm:"primaryKey"`
	Name         string `gorm:"primaryKey;type:varchar(255)"`
	Path         string `gorm:"primaryKey;type:varchar(511)"`
	Class        string `gorm:"type:varchar(255)"`
	Color        string `gorm:"type:varchar(255)"`
	Base         string `gorm:"type:varchar(255)"`
}

JenkinsJobProps current used jenkins job props

type JenkinsTransformationRule

type JenkinsTransformationRule struct {
	archived.Model
	Name              string `gorm:"type:varchar(255);index:idx_name_jenkins,unique" validate:"required"`
	DeploymentPattern string `gorm:"type:varchar(255)" mapstructure:"deploymentPattern" json:"deploymentPattern"`
	ProductionPattern string `gorm:"type:varchar(255)" mapstructure:"deploymentPattern,omitempty" json:"productionPattern"`
}

func (JenkinsTransformationRule) TableName

func (t JenkinsTransformationRule) TableName() string

Jump to

Keyboard shortcuts

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