github

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatRepositories added in v0.0.6

func FormatRepositories(repos []Repository) string

func FormatRunners added in v0.0.6

func FormatRunners(runners []Runner) string

Types

type AuthStatus added in v0.0.6

type AuthStatus struct {
	CLIAvailable   bool
	Authenticated  bool
	Login          string
	CopilotEnabled bool
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(token, owner, repo string) *Client

func (*Client) FormatStatus added in v0.0.6

func (c *Client) FormatStatus(ctx context.Context) (string, error)

func (*Client) GetAuthStatus added in v0.0.6

func (c *Client) GetAuthStatus(ctx context.Context) AuthStatus

func (*Client) GetRelevantContext

func (c *Client) GetRelevantContext(ctx context.Context, question string) (string, error)

func (*Client) GetWorkflowStatus

func (c *Client) GetWorkflowStatus(ctx context.Context, workflowName string) (string, error)

func (*Client) ListRepositories added in v0.0.6

func (c *Client) ListRepositories(ctx context.Context, limit int) ([]Repository, error)

func (*Client) ListRunners added in v0.0.6

func (c *Client) ListRunners(ctx context.Context) ([]Runner, error)

func (*Client) ResolveRepository added in v0.0.6

func (c *Client) ResolveRepository(ctx context.Context) (string, string, error)

type Repository added in v0.0.6

type Repository struct {
	Owner         string
	Name          string
	Description   string
	URL           string
	DefaultBranch string
	IsPrivate     bool
	IsFork        bool
}

type Runner added in v0.0.6

type Runner struct {
	ID     int64
	Name   string
	OS     string
	Status string
	Busy   bool
	Labels []string
}

Jump to

Keyboard shortcuts

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