Documentation
¶
Index ¶
- Variables
- func ArtifactsUpload(args []string) error
- func BuildDeploy(args []string) error
- func BuildInformation(args []string) error
- func BuildResubmit(args []string) error
- func HandleResponse(response string, copy bool)
- func MetaGetLogs() error
- func MetaGetProfile() error
- func PasteCleanup() error
- func PasteCreate(args []string) error
- func PasteDelete(args []string) error
- func PrintPatchsets(args []string) error
- func PrintTickets(args []string) error
- func Request(url string, method string, body interface{}, response ...interface{}) error
- func UploadFileRequest(url string, fileName string, response ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
var BuildEdit bool
BuildEdit If true, then edit the manifest before resubmit
var BuildNote string
BuildNote is a description of a build
var BuildTags []string
BuildTags are tags for a build
var ListName string
ListName is the name of a mailing list
var MetaEdit bool
MetaEdit If true, then edit own profile information
var PasteExpiration string
PasteExpiration is the duration that the paste should live
var PasteName string
PasteName is the name of the file that should be uploaded
var PasteVisibility string
PasteVisibility is the visibility of the file that should be uploaded
var PatchPrefix string
PatchPrefix is the prefix of a patchset
var PatchStatus string
PatchStatus is the status of a patchset
var RefName string
RefName is the name of a git repository ref
var RepoName string
RepoName is the name of a git repository
var TicketStatus string
TicketStatus is the status of a ticket
var TrackerName string
TrackerName is the name of a tracker
var UserName string
UserName is the sourcehut username
Functions ¶
func ArtifactsUpload ¶
ArtifactsUpload uploads artifact(s) to a repo ref
func BuildDeploy ¶
BuildDeploy deploys build manifests from command line
func BuildInformation ¶
BuildInformation gets information about a job by its ID
func HandleResponse ¶
HandleResponse prints the response and can copy it to clipboard
func PasteDelete ¶
PasteDelete deletes multiple paste resources
func PrintTickets ¶
PrintTickets prints out tickets of a user
func Request ¶
Request does the actual API request
Types ¶
This section is empty.