github_app

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGithubAppClientFromRequest

func GetGithubAppClientFromRequest(config *server.Config, r *http.Request) (*githubsdk.Client, apierrors.RequestError)

GetGithubAppClientFromRequest gets the github app installation id from the request and authenticates using it and the private key

func GetGithubAppConfig

func GetGithubAppConfig(config *server.Config) (*github.GithubAppConf, apierrors.RequestError)

func GetGithubProvider

func GetGithubProvider(config *server.Config) (res github.GithubVCSProvider, reqErr apierrors.RequestError)

func NewGithubAppOAuthCallbackHandler

func NewGithubAppOAuthCallbackHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewGithubAppOAuthInstallHandler

func NewGithubAppOAuthInstallHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewGithubAppOAuthStartHandler

func NewGithubAppOAuthStartHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewGithubAppWebhookHandler

func NewGithubAppWebhookHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewGithubIncomingWebhookHandler

func NewGithubIncomingWebhookHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewListGithubAppInstallationsHandler

func NewListGithubAppInstallationsHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewListGithubRepoBranchesHandler

func NewListGithubRepoBranchesHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

func NewListGithubReposHandler

func NewListGithubReposHandler(
	config *server.Config,
	decoderValidator handlerutils.RequestDecoderValidator,
	writer handlerutils.ResultWriter,
) http.Handler

Types

type GithubAppOAuthCallbackHandler

type GithubAppOAuthCallbackHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*GithubAppOAuthCallbackHandler) ServeHTTP

type GithubAppOAuthInstallHandler

type GithubAppOAuthInstallHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*GithubAppOAuthInstallHandler) ServeHTTP

type GithubAppOAuthStartHandler

type GithubAppOAuthStartHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*GithubAppOAuthStartHandler) ServeHTTP

type GithubAppWebhookHandler

type GithubAppWebhookHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*GithubAppWebhookHandler) ServeHTTP

type GithubIncomingWebhookHandler

type GithubIncomingWebhookHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*GithubIncomingWebhookHandler) ServeHTTP

type ListGithubAppInstallationsHandler

type ListGithubAppInstallationsHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*ListGithubAppInstallationsHandler) ServeHTTP

type ListGithubRepoBranchesHandler

type ListGithubRepoBranchesHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*ListGithubRepoBranchesHandler) ServeHTTP

type ListGithubReposHandler

type ListGithubReposHandler struct {
	handlers.HatchetHandlerReadWriter
}

func (*ListGithubReposHandler) ServeHTTP

Jump to

Keyboard shortcuts

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