gitlabmergeflow

package
v0.0.0-...-d9c5553 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitLabMergeFlowReport

func GitLabMergeFlowReport(propPtr string)

Types

type Config

type Config struct {
	ConfUser  string `properties:"confuser"`
	ConfPass  string `properties:"confpass"`
	ConfHost  string `properties:"confhost"`
	ConfToken string `properties:"conftoken"`
	UseToken  bool   `properties:"usetoken"`
}

type ContributorData

type ContributorData struct {
	USer          string `json:"user"`
	Contributions int    `json:"contributions"`
}

type Data

type Data struct {
	Project     string            `json:"project"`
	Description string            `json:"description"`
	Merges      []MergeData       `json:"mergerequests"`
	TopList     []ContributorData `json:"toplist"`
}

type MergConfig

type MergConfig struct {
	GitLabHost       string `properties:"gitlabhost"`
	GitLabtoken      string `properties:"gitlabtoken"`
	GitProjId        int    `properties:"gitlabprojid"`
	PageName         string `properties:"pagename"`
	CreateAttachment bool   `properties:"createattachment"`
}

type MergeData

type MergeData struct {
	MergeRequest string `json:"mergerequest"`
	Author       string `json:"author"`
	Start        string `json:"start"`
	End          string `json:"end"`
	State        string `json:"state"`
	Status       string `json:"status"`
	Title        string `json:"title"`
	Link         string `json:"link"`
	UpVotes      int    `json:"upvotes"`
	DownVotes    int    `json:"downvotes"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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