integrations

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub interface {
	GitHubAuthenticator() (*github.Client, error)
}

GitHub interface

type GitHubProvider

type GitHubProvider struct {
	GithubWebhookSecret string

	AppID          int
	InstallationID int64
	// contains filtered or unexported fields
}

GitHubProvider - Contains the components necessary for GitHub

func NewGitHubProvider

func NewGitHubProvider() (*GitHubProvider, error)

NewGitHubProvider - Starts a new GitHub Provider

func (*GitHubProvider) GitHubAuthenticator

func (githubProvider *GitHubProvider) GitHubAuthenticator(rootPath string) (*github.Client, error)

GitHubAuthenticator - Authenticates Personal Access Token

Jump to

Keyboard shortcuts

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