types

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 8

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 it's Event for looking up the tagged repos, and the human-legible decommandion for printing above the table

type Event

type Event string

Event is a generic tracking ocurrence 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 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 PullRequest

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

OpenedPullRequest 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
	RuntimeSeconds    int
	FileProvidedRepos []*AllowedRepo
	PullRequests      map[string]string
}

Jump to

Keyboard shortcuts

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