types

package
v0.1.6-0...-288c995 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedRepo

type AllowedRepo struct {
	Organization string `header:"Organization name"`
	Name         string `header:"URL"`
}

AllowedRepo represents a single repository under a GitHub organization that this tool may operate on

type AnnotatedEvent

type AnnotatedEvent struct {
	Event       Event
	Description string
}

AnnotatedEvent is used in printing the final report. It contains the info to print a section's table - both its Event for looking up the tagged repos, and the human-legible description for printing above the table

type Event

type Event string

Event is a generic tracking occurrence that RunStats manages

type NoArgumentsPassedErr

type NoArgumentsPassedErr struct{}

func (NoArgumentsPassedErr) Error

func (NoArgumentsPassedErr) Error() string

type NoBranchNameErr

type NoBranchNameErr struct{}

func (NoBranchNameErr) Error

func (NoBranchNameErr) Error() string

type NoCommandSuppliedErr

type NoCommandSuppliedErr struct{}

func (NoCommandSuppliedErr) Error

func (NoCommandSuppliedErr) Error() string

type NoGithubOauthTokenProvidedErr

type NoGithubOauthTokenProvidedErr struct{}

func (NoGithubOauthTokenProvidedErr) Error

type NoGithubOrgSuppliedErr

type NoGithubOrgSuppliedErr struct{}

func (NoGithubOrgSuppliedErr) Error

type NoRepoFlagTargetsValid

type NoRepoFlagTargetsValid struct{}

func (NoRepoFlagTargetsValid) Error

type NoRepoSelectionsMadeErr

type NoRepoSelectionsMadeErr struct{}

func (NoRepoSelectionsMadeErr) Error

type NoReposFoundErr

type NoReposFoundErr struct {
	GithubOrg string
}

func (NoReposFoundErr) Error

func (err NoReposFoundErr) Error() string

type NoValidReposFoundAfterFilteringErr

type NoValidReposFoundAfterFilteringErr struct{}

func (NoValidReposFoundAfterFilteringErr) Error

type OpenPrRequest

type OpenPrRequest struct {
	Repo    *github.Repository
	Branch  string
	Delay   time.Duration
	Retries int
}

type PullRequest

type PullRequest struct {
	Repo string `header:"Repo name"`
	URL  string `header:"PR URL"`
}

PullRequest is a simple two column representation of the repo name and its PR url

type ReducedRepo

type ReducedRepo struct {
	Name string `header:"Repo name"`
	URL  string `header:"Repo url"`
}

ReducedRepo is a simplified form of the github.Repository struct

type RunReport

type RunReport struct {
	Repos             map[Event][]*github.Repository
	SkippedRepos      map[Event][]*github.Repository
	Command           []string
	SelectionMode     string
	RuntimeSeconds    int
	FileProvidedRepos []*AllowedRepo
	PullRequests      map[string]string
	DraftPullRequests map[string]string
}

Jump to

Keyboard shortcuts

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