Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBuild ¶
type AzureBuild struct {
common.NoPKModel
// collected fields
ConnectionId uint64 `gorm:"primaryKey"`
JobName string `gorm:"primaryKey;type:varchar(255)"`
Duration float64 // build time
DisplayName string `gorm:"type:varchar(255)"` // "#7"
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)"`
}
func (AzureBuild) TableName ¶
func (AzureBuild) TableName() string
type AzureBuildDefinition ¶
type AzureBuildDefinition struct {
common.NoPKModel
// collected fields
ConnectionId uint64 `gorm:"primaryKey"`
ProjectId string `gorm:"primaryKey;type:varchar(255)"`
AzureId int `gorm:"primaryKey"`
AuthorId string `gorm:"type:varchar(255)"`
QueueId int
Url string `gorm:"type:varchar(255)"`
Name string `gorm:"type:varchar(255)"`
Path string `gorm:"type:varchar(255)"`
Type string `gorm:"type:varchar(255)"`
QueueStatus string `json:"queueStatus" gorm:"type:varchar(255)"`
Revision int `json:"revision"`
AzureCreatedDate time.Time `json:"createdDate"`
}
func (AzureBuildDefinition) TableName ¶
func (AzureBuildDefinition) TableName() string
type AzureConnection ¶
type AzureConnection struct {
helper.RestConnection `mapstructure:",squash"`
helper.BasicAuth `mapstructure:",squash"`
}
This object conforms to what the frontend currently sends.
func (AzureConnection) TableName ¶
func (AzureConnection) TableName() string
type AzureRepo ¶
type AzureRepo struct {
ConnectionId uint64 `gorm:"primaryKey"`
AzureId string `gorm:"primaryKey;type:varchar(255)" json:"id"`
Name string `gorm:"type:varchar(255)" json:"name"`
Url string `gorm:"type:varchar(255)" json:"url"`
ProjectId string `gorm:"type:varchar(255);index"`
DefaultBranch string `json:"defaultBranch"`
Size int `json:"size"`
RemoteURL string `json:"remoteUrl"`
SshUrl string `gorm:"type:varchar(255)" json:"sshUrl"`
WebUrl string `gorm:"type:varchar(255)" json:"webUrl"`
IsDisabled bool `json:"isDisabled"`
common.NoPKModel
}
type AzureResponse ¶
type AzureResponse struct {
ID int `json:"id"`
Name string `json:"name"`
AzureConnection
}
Click to show internal directories.
Click to hide internal directories.