gh

package
v0.0.0-...-ea74aed Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func GetClient

func GetClient(ctx context.Context, scope config.Scope) (*Client, error)

func (Client) CreateRegistrationToken

func (c Client) CreateRegistrationToken(ctx context.Context) (*github.RegistrationToken, error)

func (*Client) DescribeScope

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

func (Client) DescribeWorkflowJob

func (c Client) DescribeWorkflowJob(ctx context.Context, meta *cache.WorkflowJobMeta) (*github.WorkflowJob, error)

func (*Client) ListRunners

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

type RateLimit

type RateLimit struct {
	Limit     string `json:"-"`
	Remaining string `json:"remaining"`
	Used      string `json:"-"`
	Reset     string `json:"-"`
}

Jump to

Keyboard shortcuts

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