Help us shape the future of Go! Take the 2026 Go Developer Survey

actions

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

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

func NewCLI

func NewCLI(stdOut io.Writer, client GithubClient) *CLI

func (*CLI) Dispatch

func (cli *CLI) Dispatch(ctx context.Context, params DispatchParams) error

type DispatchParams

type DispatchParams struct {
	Event   string
	Repo    string
	Payload map[string]string
}

type GithubClient

type GithubClient interface {
	Dispatch(ctx context.Context, owner, repo, event string, payload []byte) error
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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