Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBuildDefinition ¶
type AzureBuildDefinition struct {
archived.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 {
RestConnection `mapstructure:",squash"`
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"`
archived.NoPKModel
}
type AzureResponse ¶
type AzureResponse struct {
ID int `json:"id"`
Name string `json:"name"`
AzureConnection
}
type BaseConnection ¶
type RestConnection ¶
type RestConnection struct {
BaseConnection `mapstructure:",squash"`
Endpoint string `mapstructure:"endpoint" validate:"required" json:"endpoint"`
Proxy string `mapstructure:"proxy" json:"proxy"`
RateLimitPerHour int `comment:"api request rate limt per hour" json:"rateLimit"`
}
Click to show internal directories.
Click to hide internal directories.