githubapi

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunnerAPI added in v0.4.0

func NewRunnerAPI() (runnerAPI, error)

NewRunnerAPI gets a new instance of the API.

Types

type IRunnerAPI added in v0.4.0

type IRunnerAPI interface {
	GetRunners(ctx context.Context, organization string, repository string, token string) ([]*github.Runner, error)
	UnregisterRunner(ctx context.Context, organization string, repository string, token string, runnerID int64) error
	CreateRegistrationToken(ctx context.Context, organization string, repository string, token string) (*github.RegistrationToken, error)
}

IRunnerAPI is a service towards GitHubs runners

Jump to

Keyboard shortcuts

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