commenter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commenter

type Commenter struct {
	Owner           string              `json:"owner"`
	Repo            string              `json:"repo"`
	TestNameMatcher string              `json:"test_name_matcher"`
	RunIDs          map[string]struct{} `json:"run_id"`
	// contains filtered or unexported fields
}

type CommenterFile

type CommenterFile struct {
	Commented []*Commenter `json:"commented"`
	// contains filtered or unexported fields
}

func NewCommenter

func NewCommenter(commenterOwner, commenterRepo, commenterToken, artifactName, progressFile string) (*CommenterFile, error)

func (*CommenterFile) AddRepo

func (f *CommenterFile) AddRepo(owner, repo, token, testNameMatcher string) error

func (*CommenterFile) GenerateComments

func (f *CommenterFile) GenerateComments() ([]*string, error)

Jump to

Keyboard shortcuts

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