package
0.8.0
Repository: https://github.com/rawlingsj/pipeline.git
Documentation: pkg.go.dev

# README

pullrequest-init

pullrequest-init fetches pull request data from the given URL and places it in the provided path.

This binary outputs a generic pull request object into a set of generic files, as well as provider specific payloads.

Currently supported providers:

  • GitHub

Generic pull request payload

For information about the payloads written to disk, see the resource documentation.

Status code conversion

Tekton Status CodeGitHub Status State
successsuccess
neutralsuccess
queuedpending
in_progresspending
failurefailure
unknownerror
errorerror
timeouterror
cancelederror
action_requirederror

# Functions

FromDisk outputs a PullRequest object from an on-disk representation at the specified path.
NewFakeGitHub returns a new FakeGitHub.
NewGitHubHandler initializes a new handler for interacting with GitHub resources.
ToDisk converts a PullRequest object to an on-disk representation at the specified path.

# Constants

TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
ErrorKeyword is a magic const used to denote PRs/Comments that should return errors to the client to simulate issues communicating with GitHub.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.
TODO: Figure out how to do case insensitive statuses.

# Structs

Comment represents a pull request comment.
FakeGitHub is a fake GitHub server for use in tests.
GitHubHandler handles interactions with the GitHub API.
GitReference represents a git ref object.
Label represents a Pull Request Label.
PullRequest represents a generic pull request resource.
No description provided by the author

# Type aliases

Manifest is a list of sub-resources that exist within the PR resource to determine whether an item existed when the resource was initialized.
No description provided by the author