github

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(repo string) *Client

func (*Client) GetJobsFromRuns

func (c *Client) GetJobsFromRuns(runs []models.GHRun) ([]models.GHJob, error)

func (*Client) GetLatestRun

func (c *Client) GetLatestRun() (*models.GHRun, error)

func (*Client) GetRecentRuns

func (c *Client) GetRecentRuns(limit int) ([]models.GHRun, error)

func (*Client) GetRunByID

func (c *Client) GetRunByID(runID int) (*models.GHRun, error)

func (*Client) GetRunJobs

func (c *Client) GetRunJobs(runID int) ([]models.GHJob, error)

func (*Client) GetWorkflowRuns

func (c *Client) GetWorkflowRuns(workflowName string, limit int) ([]models.GHRun, error)

func (*Client) OpenRunInBrowser

func (c *Client) OpenRunInBrowser(runID int) error

func (*Client) OpenWorkflowInBrowser

func (c *Client) OpenWorkflowInBrowser(workflowName string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL