Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsService ¶
type ActionsService interface {
ListWorkflowRunsByFileName(ctx context.Context, owner, repo, workflowFileName string, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ListWorkflowJobs(ctx context.Context, owner, repo string, runID int64, opts *github.ListWorkflowJobsOptions) (*github.Jobs, *github.Response, error)
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListWorkflowJobs ¶
func (*Client) ListWorkflowRuns ¶
func (c *Client) ListWorkflowRuns(ctx context.Context, owner, repo, workflowFileName string, opts *ListWorkflowRunsOptions) ([]*WorkflowRun, *github.Response, error)
type ListWorkflowJobsOptions ¶
type ListWorkflowRunsOptions ¶
type WorkflowJob ¶
type WorkflowJob struct {
ID int64
Name string
// The phase of the lifecycle that the job is currently in.
// "queued", "in_progress", "completed", "waiting", "requested", "pending"
Status string
// The outcome of the job.
// "success", "failure", "neutral", "cancelled", "skipped", "timed_out", "action_required",
Conclusion string
Duration time.Duration
}
type WorkflowRun ¶
Click to show internal directories.
Click to hide internal directories.