carry

package
v0.0.0-...-099a87d Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitReader

type CommitReader interface {
	Read() ([]*CommitSummary, error)
}

func NewReaderFromFile

func NewReaderFromFile(fpath, overrides string) (CommitReader, error)

type CommitSummary

type CommitSummary struct {
	SHA                         string
	EffectiveType, OriginalType string
	Message                     string
	MessageWithPrefix           string
	OpenShiftCommit             string
	UpstreamPR                  string
}

func (*CommitSummary) String

func (r *CommitSummary) String() string

type Override

type Override struct {
	SHA string `json:"sha,omitempty"`
	Do  string `json:"do,omitempty"`
}

func (*Override) String

func (o *Override) String() string

type Overrider

type Overrider interface {
	Override([]*CommitSummary)
}

type Prompt

type Prompt interface {
	ShouldDrop(dropSHA string) bool
}

func NewPromptsFromFile

func NewPromptsFromFile(fpath string) (Prompt, error)

Jump to

Keyboard shortcuts

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