utils

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateGitHubAppForOrg added in v0.1.6

func AuthenticateGitHubAppForOrg(ctx context.Context, org string, appID int64, privatePEM []byte) (*ghinstallation.Transport, error)

func AuthenticateGitHubAppForRepository added in v0.1.6

func AuthenticateGitHubAppForRepository(ctx context.Context, org, repo string, appID int64, privatePEM []byte) (*ghinstallation.Transport, error)

func AuthenticateGitHubAppForUser added in v0.1.6

func AuthenticateGitHubAppForUser(ctx context.Context, user string, appID int64, privatePEM []byte) (*ghinstallation.Transport, error)

func AuthenticateGitHubAppInstallation added in v0.1.6

func AuthenticateGitHubAppInstallation(_ context.Context, appID, installationID int64, privatePEM []byte) (*ghinstallation.Transport, error)

Types

type LogWriter

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

func NewLogWriter

func NewLogWriter(l logr.Logger) *LogWriter

func (*LogWriter) Write

func (lw *LogWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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