Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitbucketConnection ¶
type BitbucketConnection struct { }
type Controller ¶
type Controller struct { }
func (*Controller) CreateConnection ¶
func (ctrl *Controller) CreateConnection(c *gin.Context)
func (*Controller) ListConnections ¶
func (ctrl *Controller) ListConnections(c *gin.Context)
type GitConnection ¶
type GitConnection struct { }
type GithubConnection ¶
type GithubConnection struct { }
type GitlabConnection ¶
type GitlabConnection struct { }
type VcsConnection ¶
type VcsConnection struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()" json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `sql:"index" json:"deleted_at"` Name string `json:"name"` // One of github, gitlab, bitbucket, or git Provider string `json:"provider"` Github GithubConnection `gorm:"embedded;embeddedPrefix:github_"` Gitlab GitlabConnection `gorm:"embedded;embeddedPrefix:gitlab_"` Bitbucket BitbucketConnection `gorm:"embedded;embeddedPrefix:bitbucket_"` Git GitConnection `gorm:"embedded;embeddedPrefix:git_"` }
Click to show internal directories.
Click to hide internal directories.