codecommit

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApprovePR added in v0.0.9

func ApprovePR(c *codecommit.CodeCommit, pr string) error

Approve PR using the CodeCommit API

func CreatePR

func CreatePR(c *codecommit.CodeCommit, newPR data.NewPullRequest) (string, error)

CreatePR uses the CodeCommit API to create a new pull request from a NewPullRequest struct

func GetPRCommits

GetPRCommits uses the CodeCommit API to get relevant commit hashes for a diff

func GetPRDetails

func GetPRDetails(c codecommitiface.CodeCommitAPI, pr string, author string) (data.PullRequest, error)

GetPRDetails describes a CodeCommit pull request object in detail

func ListPRs

func ListPRs(c codecommitiface.CodeCommitAPI, repoName string, author string, status string) data.PullRequests

ListPRs returns open pull requests for a CodeCommit repository

func Merge added in v0.0.10

func MergeOptions added in v0.0.10

func MergeOptions(c *codecommit.CodeCommit, pr data.PullRequest, repoName string) (data.MergeOptions, error)

func RevokePR added in v0.0.9

func RevokePR(c *codecommit.CodeCommit, pr string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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