Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Install ¶ added in v0.26.0
type Install struct {
// contains filtered or unexported fields
}
func NewInstallation ¶ added in v0.26.0
func (*Install) GenerateJWT ¶ added in v0.26.0
GenerateJWT generates a JWT token for the GitHub App. It retrieves the application ID and private key, sets the claims, and signs the token.
func (*Install) GetAndUpdateInstallationID ¶ added in v0.26.0
GetAndUpdateInstallationID retrieves and updates the installation ID for the GitHub App. It generates a JWT token, lists all installations, and matches repositories to their installation IDs. If a matching repository is found, it returns the enterprise host, token, and installation ID.
Click to show internal directories.
Click to hide internal directories.