gh

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionsClient

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

func NewActionsClient

func NewActionsClient(ctx context.Context, user authentication.User) *ActionsClient

func (*ActionsClient) AddOrUpdateSecret

func (c *ActionsClient) AddOrUpdateSecret(ctx context.Context, owner, repo string, secret SecretParams) error

func (*ActionsClient) Dispatch

func (c *ActionsClient) Dispatch(ctx context.Context, owner, repo, event string, payload []byte) error

func (*ActionsClient) GetPublicKey

func (c *ActionsClient) GetPublicKey(ctx context.Context, owner, repo string) ([]byte, string, error)

type SecretParams

type SecretParams struct {
	Name   string
	Value  string
	PkeyId string
}

Jump to

Keyboard shortcuts

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