package
Version:
v1.0.9
Opens a new window with list of versions in this module.
Published: Jul 10, 2020
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Comment struct {
Body string `json:"body"`
}
Comment is the actual resource
GithubComment retrieves a specific comment
Metadata returns the comment metadata
type Input struct {
Source *Source `json:"source"`
Version *Version `json:"version"`
}
Input is provided to this resource via STDIN
GetInput takes a reader and constructs an Input
Validate checks if the input is sound
type Metadata struct {
Name string `json:"name"`
Value string `json:"value"`
}
Metadata is a key-value type
type Output struct {
Version Version `json:"version"`
Metadata []Metadata `json:"metadata"`
}
Output is written by in script
type Source struct {
RepositoryString string `json:"repository"`
AccessToken string `json:"access_token"`
V3Endpoint string `json:"v3_endpoint"`
Regex string `json:"regex"`
}
Source is the configurable settings a user provides to this resource
Owner returns the repo owner
Repo returns the repo name
type Version struct {
PrNumber string `json:"pr"`
}
Version represents a single version of the resource
GithubVersions retrieves all matching versions for the given input
Source Files
¶
Click to show internal directories.
Click to hide internal directories.