Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllBurndownType = []BurndownType{ BurndownTypeGlobal, BurndownTypeFile, BurndownTypeAuthor, BurndownTypeAlert, }
View Source
var AllRepositoryHost = []RepositoryHost{ RepositoryHostGithub, RepositoryHostGitlab, RepositoryHostBitbucket, }
Functions ¶
This section is empty.
Types ¶
type AuthorBurndown ¶
type AuthorBurndown struct { RepoID int `json:"repoID"` Type BurndownType `json:"type"` Author []*BurndownEntry `json:"author"` }
func (AuthorBurndown) IsBurndown ¶
func (AuthorBurndown) IsBurndown()
type BurndownAlert ¶
type BurndownAlert struct { RepoID int `json:"repoID"` Type BurndownType `json:"type"` Alert string `json:"alert"` }
func (BurndownAlert) IsBurndown ¶
func (BurndownAlert) IsBurndown()
type BurndownEntry ¶
type BurndownType ¶
type BurndownType string
const ( BurndownTypeGlobal BurndownType = "GLOBAL" BurndownTypeFile BurndownType = "FILE" BurndownTypeAuthor BurndownType = "AUTHOR" BurndownTypeAlert BurndownType = "ALERT" )
func (BurndownType) IsValid ¶
func (e BurndownType) IsValid() bool
func (BurndownType) MarshalGQL ¶
func (e BurndownType) MarshalGQL(w io.Writer)
func (BurndownType) String ¶
func (e BurndownType) String() string
func (*BurndownType) UnmarshalGQL ¶
func (e *BurndownType) UnmarshalGQL(v interface{}) error
type FileBurndown ¶
type FileBurndown struct { RepoID int `json:"repoID"` Type BurndownType `json:"type"` File []*FileBurndownEntry `json:"file"` }
func (FileBurndown) IsBurndown ¶
func (FileBurndown) IsBurndown()
type FileBurndownEntry ¶
type FileBurndownEntry struct { File string `json:"file"` Entry *BurndownEntry `json:"entry"` }
type GlobalBurndown ¶
type GlobalBurndown struct { RepoID int `json:"repoID"` Type BurndownType `json:"type"` Entries []*BurndownEntry `json:"entries"` }
func (GlobalBurndown) IsBurndown ¶
func (GlobalBurndown) IsBurndown()
type Repository ¶
type RepositoryAnalytics ¶
type RepositoryAnalytics struct { Repository *Repository `json:"repository"` Burndown Burndown `json:"burndown"` }
type RepositoryHost ¶
type RepositoryHost string
const ( RepositoryHostGithub RepositoryHost = "GITHUB" RepositoryHostGitlab RepositoryHost = "GITLAB" RepositoryHostBitbucket RepositoryHost = "BITBUCKET" )
func (RepositoryHost) IsValid ¶
func (e RepositoryHost) IsValid() bool
func (RepositoryHost) MarshalGQL ¶
func (e RepositoryHost) MarshalGQL(w io.Writer)
func (RepositoryHost) String ¶
func (e RepositoryHost) String() string
func (*RepositoryHost) UnmarshalGQL ¶
func (e *RepositoryHost) UnmarshalGQL(v interface{}) error
type ServiceStatus ¶
Click to show internal directories.
Click to hide internal directories.