common

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 0 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildParameters

type BuildParameters struct {
	CommitHash  string `json:"commit-hash"`
	Blocks      string `json:"blocks"`
	Genesis     string `json:"genesis"`
	Integration string `json:"integration"`
}

Contains the parameters for the CircleCI build json

type CircleApiPayload

type CircleApiPayload struct {
	Branch          string          `json:"branch"`
	BuildParameters BuildParameters `json:"parameters"`
}

Structure used to generate the json payload for the CircleCI api call

type Comment

type Comment struct {
	Body string `json:"body"`
}

The fields corresponding to the GitHub comment object

type GithubEventPayload

type GithubEventPayload struct {
	Issue   Issue   `json:"issue"`
	Comment Comment `json:"comment"`
	Repo    Repo    `json:"repository"`
}

Structure used to unmarshal the event payload received from GitHub

type Issue

type Issue struct {
	Number int `json:"number"`
	Pr     Pr  `json:"pull_request,omitempty"`
}

The fields corresponding to the GitHub Issue object

type Owner

type Owner struct {
	Login string `json:"login"`
}

The fields corresponding to the GitHub Owner object

type Pr

type Pr struct {
	Url string `json:"url,omitempty"`
}

The fields corresponding to the GitHub Pr object

type Repo

type Repo struct {
	Name  string `json:"name"`
	Owner Owner  `json:"owner"`
}

The fields corresponding to the GitHub Repo object

Jump to

Keyboard shortcuts

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