Documentation
¶
Index ¶
Constants ¶
View Source
const ( S3 string = "s3" SWIFT string = "swift" )
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "upr",
Short: "Manipulate pull requests on GitHub",
Long: `A command line tool to manipulate pull requests on Github.
This tool is designed to be integrated into a CI implementation
in order to update the Status or add a Comment.`,
}
This represents the base command when called without any subcommands
Functions ¶
Types ¶
type CommentBody ¶
type CommentBody struct {
CommitID string
Title string
Summary string
Uploads map[string][]Upload
UploadsExpire *time.Time // pointers can be nil, for template conditional
}
func (*CommentBody) PopulateUploads ¶
func (c *CommentBody) PopulateUploads()
Populates the Uploads section of the CommentBody struct
func (*CommentBody) UploadToSwift ¶
func (c *CommentBody) UploadToSwift()
Upload the files via the Swift API
Click to show internal directories.
Click to hide internal directories.