github

package
v0.0.0-...-a196a74 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 0 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

View Source
const (
	// EventGUID is sent by Github in a header of every webhook request.
	EventGUID = "event-GUID" // aligned with Prow fields
	// Event is sent by GitHub in a header of every webhook request.
	Event = "event-type" // aligned with Prow fields
	// RepoLogField is the repository from where the event came.
	RepoLogField = "github-repo"
	// SenderLogField is the username who caused the event to be sent.
	SenderLogField = "github-event-sender"
)
View Source
const (
	StatusPending = "pending"
	StatusSuccess = "success"
	StatusError   = "error"
	StatusFailure = "failure"
)

These are possible State entries for a Status.

View Source
const (
	ActionLabeled   = "labeled"
	ActionUnlabeled = "unlabeled"
)

These are the possible actions for the Pull Request Event Type

View Source
const (
	IssueComment = EventType("issue_comment") // nolint
	PullRequest  = EventType("pull_request")  // nolint
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventType

type EventType string

EventType encapsulates all event types

type StatusContext

type StatusContext struct {
	BotName    string
	PluginName string
}

StatusContext enc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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