githubapp

package
v0.28.5 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGithubAppClientFromRequest

func GetGithubAppClientFromRequest(ctx echo.Context, config *server.ServerConfig) (*githubsdk.Client, *gen.APIErrors)

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

func GetGithubAppConfig

func GetGithubAppConfig(config *server.ServerConfig) (*github.GithubAppConf, error)

func GetGithubProvider

func GetGithubProvider(config *server.ServerConfig) (res github.GithubVCSProvider, reqErr error)

Types

type GithubAppService

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

func NewGithubAppService

func NewGithubAppService(config *server.ServerConfig) *GithubAppService

func (*GithubAppService) GithubAppListBranches

func (g *GithubAppService) GithubAppListBranches(ctx echo.Context, req gen.GithubAppListBranchesRequestObject) (gen.GithubAppListBranchesResponseObject, error)

func (*GithubAppService) GithubAppListInstallations

func (*GithubAppService) GithubAppListRepos

func (g *GithubAppService) GithubAppListRepos(ctx echo.Context, req gen.GithubAppListReposRequestObject) (gen.GithubAppListReposResponseObject, error)

func (*GithubAppService) GithubUpdateGlobalWebhook

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*GithubAppService) GithubUpdateTenantWebhook

func (*GithubAppService) UserUpdateGithubAppOauthCallback added in v0.20.0

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

func (*GithubAppService) UserUpdateGithubAppOauthStart added in v0.20.0

Note: we want all errors to redirect, otherwise the user will be greeted with raw JSON in the middle of the login flow.

Jump to

Keyboard shortcuts

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