data

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MergeInput added in v0.0.10

type MergeInput struct {
	Type               string
	PRID               string
	SourceCommit       string
	SourceBranch       string
	Repository         string
	ConflictDetail     string
	ConflictResolution string
	AuthorName         string
	AuthorEmail        string
	DeleteBranch       bool
}

type MergeOptions added in v0.0.10

type MergeOptions struct {
	FF       bool
	Squash   bool
	ThreeWay bool
}

type NewPullRequest

type NewPullRequest struct {
	Title          string
	Description    string
	Repository     string
	SourceRef      string
	DestinationRef string
}

NewPullRequest describes a new pull request to be created

type Path added in v0.0.5

type Path struct {
	Path     string
	PathType string
}

Path describes fields used to identify a git filesystem object

type PullRequest

type PullRequest struct {
	ID           string
	Title        string
	Owner        string
	Status       string
	SourceBranch string
	DestBranch   string
}

PullRequest describes a CodeCommit pull request

type PullRequestDiff

type PullRequestDiff struct {
	DestCommit   string
	MergeCommit  string
	SourceBranch string
}

PullRequestDiff describes fields for diff operations

type PullRequests

type PullRequests struct {
	PRs []PullRequest
}

PullRequests is a list of PullRequest

func (PullRequests) GetHeaders

func (p PullRequests) GetHeaders() []string

GetHeaders implements the TableData interface to generate tables for PullRequest objects

func (PullRequests) GetRows

func (p PullRequests) GetRows() [][]string

GetRows implements the TableData interface to generate tables for PullRequest objects

type TableData

type TableData interface {
	GetHeaders() []string
	GetRows() [][]string
}

TableData Interface for dynamically creating tables with table_maker.go

Jump to

Keyboard shortcuts

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