mgmt

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBootstrapData added in v0.15.0

func ParseBootstrapData(ctx context.Context, token, dataEncoded string) (string, error)

func WeeklyReport

func WeeklyReport(ctx context.Context, client *github.Client, repo string) (*bytes.Buffer, error)

WeeklyReport generates the weekly report for RKE2 or K3s.

Types

type ReportStats added in v0.13.0

type ReportStats struct {
	OpenedIssues       map[time.Time]int
	ClosedIssues       map[time.Time]int
	OpenedMemberPRs    map[time.Time]int
	ClosedMemberPRs    map[time.Time]int
	OpenedCommunityPRs map[time.Time]int
	ClosedCommunityPRs map[time.Time]int
}

func RepoReportStats added in v0.13.0

func RepoReportStats(ctx context.Context, client *github.Client, repo string, weeks int) (*ReportStats, error)

RepoReportStats returns back weekly issues closed and opened and pr closed and opened

Jump to

Keyboard shortcuts

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