check

package
v0.0.0-...-6f0d907 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CIResult

type CIResult struct {
	Repo      string `json:"repo"`
	Owner     string `json:"owner"`
	Total     int    `json:"total"`
	Success   int    `json:"success"`
	Complete  int    `json:"complete"`
	PrNum     string `json:"pr"`
	Title     string `json:"title"`
	CommitSHA string `json:"sha"`
}

type CheckClient

type CheckClient struct {
	C         *github.Client
	CommitSHA string
	Repo      string
	Owner     string
	PrNum     string
	Title     string
	Timeout   int
}

func NewClient

func NewClient(path string) (*CheckClient, error)

func (*CheckClient) QueryLoop

func (c *CheckClient) QueryLoop() *CIResult

Jump to

Keyboard shortcuts

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