Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TokenScopes ¶
TokenScopes returns the scopes of token in the eviroment
Types ¶
type Artifact ¶
type Artifact struct { ID int `json:"id"` Name string `json:"name"` Size int `json:"size_in_bytes"` URL string `json:"archive_download_url"` Expired bool `json:"expired"` UpdatedAt time.Time `json:"updated_at"` }
Artifact is the artifact structure returned by the API
type Run ¶
type Run struct { ID int64 `json:"id"` Status string `json:"status"` Conclusion string `json:"conclusion"` HeadBranch string `json:"head_branch"` HeadSHA string `json:"head_sha"` Path string `json:"path"` RunNumber int64 `json:"run_number"` WorkFlowID int64 `json:"workflow_id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` LogsURL string `json:"logs_url"` Actor Actor `json:"actor"` TriggeringActor Actor `json:"triggering_actor"` }
Click to show internal directories.
Click to hide internal directories.