github

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionClient

type ActionClient interface {
	GetRunner(ctx context.Context, runnerURL string, runnerID int64) (client.Runner, error)
	CreateRunnerToken(ctx context.Context, runnerURL string) (client.RunnerToken, error)
}

type Client

type Client interface {
	ActionClient
}

type Options

type Options struct {
	AccessToken    string
	APIEndpoint    string
	WebhookAddress string
	WebhookPath    string
	WebhookSecret  string
}

func (*Options) BindFlags

func (o *Options) BindFlags(fs *flag.FlagSet)

func (*Options) GetClient

func (o *Options) GetClient() *client.Client

func (*Options) GetWebhookServer

func (o *Options) GetWebhookServer() *webhook.Server

Directories

Path Synopsis
mock
Package mock_github is a generated GoMock package.
Package mock_github is a generated GoMock package.
Package errors provides helpers to determines github api client errors.
Package errors provides helpers to determines github api client errors.

Jump to

Keyboard shortcuts

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