internal

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToCSVFormat

func ConvertToCSVFormat(projects []*ProjectSummary) [][]string

func CreateCSV

func CreateCSV(data [][]string, filename string)

func GetGroupsFromNames

func GetGroupsFromNames(client *gitlab.Client, groupNames string) []*gitlab.Group

Types

type ProjectSummary

type ProjectSummary struct {
	Namespace               string
	ProjectName             string
	IsEmpty                 bool
	Last_Push               *time.Time
	Last_Update             *time.Time
	IsFork                  bool
	RepoSize                int64
	RecordCount             int
	CollaboratorCount       int
	ProtectedBranchCount    int
	MergeRequestReviewCount int
	MilestoneCount          int
	IssueCount              int
	MergeRequestCount       int
	MRReviewCommentCount    int
	CommitCommentCount      int
	IssueCommentCount       int
	ReleaseCount            int
	IssueBoardCount         int
	BranchCount             int
	TagCount                int
	DiscussionCount         int
	HasWiki                 bool
	FullUrl                 string
	MigrationIssue          bool
}

func GetProjectSummary

func GetProjectSummary(gitlabProjects []*gitlab.Project, client *gitlab.Client) []*ProjectSummary

Jump to

Keyboard shortcuts

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