mgmt

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 16 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 RKE2ChartsIndex added in v0.16.0

func RKE2ChartsIndex(ctx context.Context, client *http.Client) (string, error)

RKE2ChartsIndex

func RKE2ImageRepos added in v0.16.0

func RKE2ImageRepos(ctx context.Context, client *http.Client) ([]string, error)

RKE2ImageRepos

func RKE2Images added in v0.16.0

func RKE2Images(ctx context.Context, client *http.Client) ([]string, error)

RKE2Images

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