crossdomain

package
v0.15.0-zentao-beta-5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account added in v0.12.0

type Account struct {
	domainlayer.DomainEntity
	Email        string `gorm:"type:varchar(255)"`
	FullName     string `gorm:"type:varchar(255)"`
	UserName     string `gorm:"type:varchar(255)"`
	AvatarUrl    string `gorm:"type:varchar(255)"`
	Organization string `gorm:"type:varchar(255)"`
	CreatedDate  *time.Time
	Status       int
}

func (Account) TableName added in v0.12.0

func (Account) TableName() string

type BoardRepo

type BoardRepo struct {
	BoardId string `gorm:"primaryKey;type:varchar(255)"`
	RepoId  string `gorm:"primaryKey;type:varchar(255)"`
	common.NoPKModel
}

func (BoardRepo) TableName added in v0.12.0

func (BoardRepo) TableName() string

type IssueCommit

type IssueCommit struct {
	common.NoPKModel
	IssueId   string `gorm:"primaryKey;type:varchar(255)"`
	CommitSha string `gorm:"primaryKey;type:varchar(255)"`
}

func (IssueCommit) TableName added in v0.12.0

func (IssueCommit) TableName() string

type IssueRepoCommit

type IssueRepoCommit struct {
	common.NoPKModel
	IssueId   string `gorm:"primaryKey;type:varchar(255)"`
	RepoUrl   string `gorm:"primaryKey;type:varchar(255)"`
	CommitSha string `gorm:"primaryKey;type:varchar(255)"`
}

func (IssueRepoCommit) TableName added in v0.12.0

func (IssueRepoCommit) TableName() string

type ProjectMapping added in v0.13.0

type ProjectMapping struct {
	ProjectName string `gorm:"primaryKey;type:varchar(255)"`
	Table       string `gorm:"primaryKey;type:varchar(255)"`
	RowId       string `gorm:"primaryKey;type:varchar(255)"`
	common.NoPKModel
}

func (ProjectMapping) TableName added in v0.13.0

func (ProjectMapping) TableName() string

type ProjectPrMetric added in v0.15.0

type ProjectPrMetric struct {
	domainlayer.DomainEntity
	ProjectName    string `gorm:"primaryKey;type:varchar(100)"`
	FirstCommitSha string
	CodingTimespan *int64
	FirstReviewId  string
	ReviewLag      *int64
	ReviewTimespan *int64
	DeploymentId   string
	DeployTimespan *int64
	ChangeTimespan *int64
}

func (ProjectPrMetric) TableName added in v0.15.0

func (ProjectPrMetric) TableName() string

type PullRequestIssue

type PullRequestIssue struct {
	PullRequestId  string `json:"id" gorm:"primaryKey;type:varchar(255);comment:This key is generated based on details from the original plugin"` // format: <Plugin>:<Entity>:<PK0>:<PK1>
	IssueId        string `gorm:"primaryKey;type:varchar(255)"`
	PullRequestKey int
	IssueKey       int
	common.NoPKModel
}

func (PullRequestIssue) TableName added in v0.12.0

func (PullRequestIssue) TableName() string

type RefsIssuesDiffs

type RefsIssuesDiffs struct {
	NewRefId        string `gorm:"primaryKey;type:varchar(255)"`
	OldRefId        string `gorm:"primaryKey;type:varchar(255)"`
	NewRefCommitSha string `gorm:"type:varchar(40)"`
	OldRefCommitSha string `gorm:"type:varchar(40)"`
	IssueNumber     string `gorm:"type:varchar(255)"`
	IssueId         string `gorm:"primaryKey;type:varchar(255)"`
	common.NoPKModel
}

func (RefsIssuesDiffs) TableName added in v0.12.0

func (RefsIssuesDiffs) TableName() string

type Team added in v0.12.0

type Team struct {
	domainlayer.DomainEntity
	Name         string `gorm:"type:varchar(255)"`
	Alias        string `gorm:"type:varchar(255)"`
	ParentId     string `gorm:"type:varchar(255)"`
	SortingIndex int
}

func (Team) TableName added in v0.12.0

func (Team) TableName() string

type TeamUser added in v0.12.0

type TeamUser struct {
	TeamId string `gorm:"primaryKey;type:varchar(255)"`
	UserId string `gorm:"primaryKey;type:varchar(255)"`
	common.NoPKModel
}

func (TeamUser) TableName added in v0.12.0

func (TeamUser) TableName() string

type User added in v0.12.0

type User struct {
	domainlayer.DomainEntity
	Email string `gorm:"type:varchar(255)"`
	Name  string `gorm:"type:varchar(255)"`
}

func (User) TableName added in v0.12.0

func (User) TableName() string

type UserAccount added in v0.12.0

type UserAccount struct {
	UserId    string `gorm:"type:varchar(255)"`
	AccountId string `gorm:"primaryKey;type:varchar(255)"`
	common.NoPKModel
}

func (UserAccount) TableName added in v0.12.0

func (UserAccount) TableName() string

Jump to

Keyboard shortcuts

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