app

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReponse added in v0.18.0

func GetReponse(ctx context.Context, method, urlData, jwtToken string, run *params.Run) (*http.Response, error)

Types

type Install added in v0.26.0

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

func NewInstallation added in v0.26.0

func NewInstallation(req *http.Request, run *params.Run, repo *v1alpha1.Repository, gh *github.Provider, namespace string) *Install

func (*Install) GenerateJWT added in v0.26.0

func (ip *Install) GenerateJWT(ctx context.Context) (string, error)

func (*Install) GetAndUpdateInstallationID added in v0.26.0

func (ip *Install) GetAndUpdateInstallationID(ctx context.Context) (string, string, int64, error)

type JWTClaim

type JWTClaim struct {
	Issuer int64 `json:"iss"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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