models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitlabCommit

type GitlabCommit struct {
	GitlabId       string `gorm:"primaryKey"`
	ProjectId      int    `gorm:"index"`
	Title          string
	Message        string
	ShortId        string
	AuthorName     string
	AuthorEmail    string
	AuthoredDate   string
	CommitterName  string
	CommitterEmail string
	CommittedDate  string
	WebUrl         string
	Additions      int
	Deletions      int
	Total          int
	models.NoPKModel
}

type GitlabMergeRequest

type GitlabMergeRequest struct {
	GitlabId         int `gorm:"primaryKey"`
	Iid              int `gorm:"index"`
	ProjectId        int `gorm:"index"`
	State            string
	Title            string
	WebUrl           string
	UserNotesCount   int
	WorkInProgress   bool
	SourceBranch     string
	MergedAt         string
	GitlabCreatedAt  string
	ClosedAt         string
	MergedByUsername string
	Description      string
	AuthorUsername   string
	FirstCommentTime string
	ReviewRounds     int

	models.NoPKModel
}

type GitlabMergeRequestCommit

type GitlabMergeRequestCommit struct {
	CommitId       string `gorm:"primaryKey"`
	Title          string
	Message        string
	ShortId        string
	AuthorName     string
	AuthorEmail    string
	AuthoredDate   string
	CommitterName  string
	CommitterEmail string
	CommittedDate  string
	WebUrl         string
	Additions      int
	Deletions      int
	Total          int
	models.NoPKModel
}

type GitlabMergeRequestCommitMergeRequest

type GitlabMergeRequestCommitMergeRequest struct {
	MergeRequestCommitId string `gorm:"index"`
	MergeRequestId       int    `gorm:"index"`
	models.NoPKModel
}

type GitlabMergeRequestNote

type GitlabMergeRequestNote struct {
	GitlabId        int `gorm:"primaryKey"`
	MergeRequestId  int `gorm:"index"`
	MergeRequestIid int
	NoteableType    string
	AuthorUsername  string
	Body            string
	GitlabCreatedAt string
	Confidential    bool
	Resolvable      bool // Resolvable means a comment is a code review comment
	System          bool // System means the comment is generated automatically

	models.NoPKModel
}

type GitlabPipeline

type GitlabPipeline struct {
	GitlabId        int `gorm:"primaryKey"`
	ProjectId       int `gorm:"index"`
	GitlabCreatedAt string
	Status          string
	Ref             string
	Sha             string
	WebUrl          string
	Duration        int
	StartedAt       string
	FinishedAt      string
	Coverage        string
	models.NoPKModel
}

type GitlabProject

type GitlabProject struct {
	GitlabId          int `gorm:"primaryKey"`
	Name              string
	PathWithNamespace string
	WebUrl            string
	Visibility        string
	OpenIssuesCount   int
	StarCount         int

	models.NoPKModel
}

type GitlabReviewer

type GitlabReviewer struct {
	GitlabId       int `gorm:"primaryKey"`
	MergeRequestId int `gorm:"index"`
	ProjectId      int `gorm:"index"`
	Name           string
	Username       string
	State          string
	AvatarUrl      string
	WebUrl         string
	models.NoPKModel
}

Jump to

Keyboard shortcuts

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