report

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTMLTemplate = `` /* 2644-byte string literal not displayed */
View Source
var TextTemplate = `` /* 247-byte string literal not displayed */

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Title         string     `json:"title"`
	CommitterName string     `json:"committerName"`
	CommittedDate *time.Time `json:"committedDate"`
	WebURL        string     `json:"webURL"`
}

type DockerImage added in v0.18.1

type DockerImage struct {
	Wanted string  `json:"wanted"`
	Image  *string `json:"image"`
}

type DockerImages added in v0.18.1

type DockerImages struct {
	Status string         `json:"status"`
	Images []*DockerImage `json:"images"`
}

type MergeRequest added in v0.18.1

type MergeRequest struct {
	Found          bool   `json:"found"`
	WebURL         string `json:"webURL"`
	PipelineStatus string `json:"pipelineStatus"`
}

type ProjectReport

type ProjectReport struct {
	Name                   string                  `json:"name"`
	IsActive               bool                    `json:"active"`
	IsEmpty                bool                    `json:"emptyRepo"`
	Commits                int                     `json:"commits"`
	CreatedAt              *time.Time              `json:"createdAt"`
	LastActivity           *time.Time              `json:"lastActivity"`
	LastCommit             *Commit                 `json:"commit"`
	OpenIssuesCount        int                     `json:"openIssuesCount"`
	OpenMergeRequestsCount int                     `json:"openMergeRequestsCount"`
	WebURL                 string                  `json:"webURL"`
	Members                []*gitlab.ProjectMember `json:"members"`
	Release                *Release                `json:"release"`
}

type Release added in v0.18.1

type Release struct {
	MergeRequest *MergeRequest `json:"mergeRequest"`
	DockerImages *DockerImages `json:"dockerImages"`
}

type Reports

type Reports struct {
	Course                 string           `json:"course"`
	Assignment             string           `json:"assignment"`
	URL                    string           `json:"url"`
	Description            string           `json:"description"`
	Projects               []*ProjectReport `json:"projects"`
	Generated              *time.Time       `json:"generated"`
	HasReleaseMergeRequest bool             `json:"hasReleaseMergeRequest"`
	HasReleaseDockerImages bool             `json:"hasReleaseDockerImages"`
}

Jump to

Keyboard shortcuts

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