Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) GetJobsFromRuns(runs []models.GHRun) ([]models.GHJob, error)
- func (c *Client) GetLatestRun() (*models.GHRun, error)
- func (c *Client) GetRecentRuns(limit int) ([]models.GHRun, error)
- func (c *Client) GetRunByID(runID int) (*models.GHRun, error)
- func (c *Client) GetRunJobs(runID int) ([]models.GHJob, error)
- func (c *Client) GetWorkflowRuns(workflowName string, limit int) ([]models.GHRun, error)
- func (c *Client) GetWorkflows(ctx context.Context, repo string) ([]string, error)
- func (c *Client) OpenRunInBrowser(runID int) error
- func (c *Client) OpenWorkflowInBrowser(workflowName string) error
- func (c *Client) RepositoryExists(ctx context.Context, repo string) (bool, error)
Constants ¶
View Source
const DefaultTimeout = 30 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClientWithTimeout ¶ added in v0.2.0
func (*Client) GetJobsFromRuns ¶
func (*Client) GetWorkflowRuns ¶
func (*Client) GetWorkflows ¶ added in v0.2.0
GetWorkflows fetches the list of workflow files from a repository
func (*Client) OpenRunInBrowser ¶
func (*Client) OpenWorkflowInBrowser ¶
Click to show internal directories.
Click to hide internal directories.