githubapp

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewloaderClient added in v0.1.1

func NewloaderClient(dir string) (*loaderClient, error)

Types

type Client

type Client interface {
	GetRepos(ctx *types.Context, owner string) ([]*github.Repository, error)
	GetBranches(ctx *types.Context, owner, repo string) ([]*github.Branch, error)
	GetBranchProtection(ctx *types.Context, owner, repo, branch string) (*github.Protection, error)
	GetCollaborators(ctx *types.Context, owner, repo string) ([]*github.User, error)
	GetHooks(ctx *types.Context, owner, repo string) ([]*github.Hook, error)
	GetTeams(ctx *types.Context, owner, repo string) ([]*github.Team, error)
}

func New

func New(appID, installID int64, privateKey []byte) (Client, error)

Jump to

Keyboard shortcuts

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