dashboard

package
v0.0.0-...-48e0c29 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIndexImagesFromUrl

func GetIndexImagesFromUrl(cvpJobUrl string) ([]string, error)

Types

type DashboardIssueList

type DashboardIssueList struct {
	StoryPoints struct {
		Total          float64
		New            float64
		DevComplete    float64
		ReleasePending float64
		ToDo           float64
		InProgress     float64
		CodeReview     float64
		OnQA           float64
		Verified       float64
		Closed         float64
	}
	Issues        []shared.JiraIssueSchema
	PatchReleases []*PatchRelease
}

func GenerateIssueList

func GenerateIssueList(ctx context.Context, jql string, jiraClient *jiraLib.Client, jiraConfig *shared.JiraConfig) (*DashboardIssueList, error)

type EndToEndFlow

type EndToEndFlow struct {
	GitlabMR              *GitLabMergeRequest
	CheckMerged           *JenkinsBuildView
	BuildPipeline         *JenkinsBuildView
	BuildPipelineChildren []*JenkinsBuildView
	ReleasePipeline       *JenkinsBuildView
	CVPPipeline           *JenkinsBuildView
	IndexImages           []string
}

func GenerateEndToEndFlow

func GenerateEndToEndFlow(username, password, baseUrl, cvpUrl, checkMergedUrl string, generateNum int) ([]EndToEndFlow, error)

func GenerateEndToEndFlowSingle

func GenerateEndToEndFlowSingle(username, password, baseUrl, cvpUrl, checkMergedUrl string) (*EndToEndFlow, error)

GenerateEndToEndFlowSingle baseUrl is something like https://<jenkins url>/job/pipelines-1.8-rhel-8/

type GitLabMergeRequest

type GitLabMergeRequest struct {
	Id    int
	URL   string
	Title string
}

type JenkinsBuildView

type JenkinsBuildView struct {
	Name        string
	Number      int
	Logs        string
	Result      string
	Running     bool
	Duration    int
	Cause       string
	Url         string
	Previous    string
	DisplayName string
	Timestamp   int64
	Extra       interface{}
}

func GenerateBuildViews

func GenerateBuildViews(jobUrl, username, password string, generateNum int) ([]*JenkinsBuildView, error)

func GetBuildView

func GetBuildView(jobUrl, username, password string) (*JenkinsBuildView, error)

type PatchRelease

type PatchRelease struct {
	Name        string
	StoryPoints float64
	Released    bool
	Issues      []shared.JiraIssueSchema
}

Jump to

Keyboard shortcuts

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