Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleOwners ¶
func PossibleOwners() ([]user, error)
Types ¶
type ListItem ¶
type ListItem struct {
ProjectID int32 `db:"project_id"`
ProjectName string `db:"project_name"`
ProjectToken string `db:"project_token"`
ProjectOwnerID int32 `db:"project_owner_id"`
UserEmail string `db:"user_email"`
UserName string `db:"user_name"`
Status string `db:"status"`
CommitSHA string `db:"commit_sha"`
LastBuildID int32 `db:"last_build_id"`
StartedAt *time.Time `db:"started_at"`
FinishedAt *time.Time `db:"finished_at"`
}
type Project ¶
type Project struct {
ID int32 `db:"project_id" json:"project_id"`
Name string `db:"project_name" json:"project_name"`
Token string `db:"project_token" json:"project_token"`
URL string `db:"repository_url" json:"repository_url"`
OwnerID int32 `db:"project_owner_id" json:"project_owner_id"`
PossibleOwners users `db:"possible_owners" json:"possible_owners"`
GitHubSecret string `db:"github_secret" json:"github_secret"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
}
Click to show internal directories.
Click to hide internal directories.