doghouse

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {
	// Relative file path
	// Required.
	Path string `json:"path,omitempty"`
	// Line number.
	// Optional.
	Line int `json:"line,omitempty"`
	// Annotation message.
	// Required.
	Message string `json:"message,omitempty"`
	// Original error message of this annotaion.
	// Optional.
	RawMessage string `json:"raw_message,omitempty"`
}

Annotation represents an annotaion to file or specific line.

type CheckRequest

type CheckRequest struct {
	// Commit SHA.
	// Required.
	SHA string `json:"sha,omitempty"`
	// PullRequest number.
	// Required.
	PullRequest int `json:"pull_request,omitempty"`
	// Owner of the repository.
	// Required.
	Owner string `json:"owner,omitempty"`
	// Repository name.
	// Required.
	Repo string `json:"repo,omitempty"`
	// Branch name.
	// Optional.
	Branch string `json:"branch,omitempty"`

	// Annotations associated with the repository's commit and Pull Request.
	Annotations []*Annotation `json:"annotations,omitempty"`

	// Name of the annotation tool.
	// Optional.
	Name string `json:"name,omitempty"`
}

CheckRequest represents doghouse GitHub check request.

type CheckResponse

type CheckResponse struct {
	ReportURL string `json:"report_url,omitempty"`
}

CheckResponse represents doghouse GitHub check response.

Directories

Path Synopsis
statik
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

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