Versions in this module Expand all Collapse all v1 v1.0.1 May 7, 2026 v1.0.0 Apr 30, 2026 Changes in this version + type Client struct + func NewClient(creds Credentials) (*Client, error) + func NewClientWithTransport(creds Credentials, transport http.RoundTripper) (*Client, error) + func (c *Client) ListTeamRepos(ctx context.Context, org, teamSlug string) ([]Repository, error) + func (c *Client) ListUserTeams(ctx context.Context, org string) ([]Team, error) + func (c *Client) ListWorkflowRuns(ctx context.Context, owner, repo string, workflowID int64, branch string, ...) ([]WorkflowRun, error) + func (c *Client) ListWorkflows(ctx context.Context, owner, repo string) ([]Workflow, error) + func (c *Client) TestConnection(ctx context.Context) error + func (c *Client) WhoAmI(ctx context.Context) (*User, error) + func (c *Client) WithDebug(v bool) *Client + func (c *Client) WithDumpResponses(v bool) *Client + type Credentials struct + Org string + Token string + type Repository struct + Archived bool + FullName string + HTMLURL string + ID int64 + Name string + Owner RepositoryOwner + Private bool + type RepositoryOwner struct + Login string + type Team struct + ID int64 + Name string + Organization TeamOrg + Slug string + type TeamOrg struct + Login string + type User struct + Login string + Name string + type Workflow struct + ID int64 + Name string + Path string + State string + type WorkflowListResponse struct + TotalCount int + Workflows []Workflow + type WorkflowRun struct + Conclusion string + CreatedAt time.Time + HTMLURL string + HeadBranch string + ID int64 + Name string + RunNumber int + Status string + UpdatedAt time.Time + type WorkflowRunsResponse struct + TotalCount int + WorkflowRuns []WorkflowRun