app

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJWT added in v0.18.0

func GenerateJWT(ctx context.Context, ns string, run *params.Run) (string, error)

func GetAndUpdateInstallationID

func GetAndUpdateInstallationID(ctx context.Context, req *http.Request, run *params.Run, repo *v1alpha1.Repository, gh *github.Provider, ns string) (string, string, int64, error)

func GetReponse added in v0.18.0

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

Types

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