github

package
v0.0.0-...-e2d6795 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*github.Client
}

func GetClient

func GetClient(ctx context.Context, options github.InstallationTokenOptions) (*Client, error)

type Component

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

func New

func New(kube *kubeclient.Client, githubAppID string, appPrivateKey *rsa.PrivateKey) (*Component, error)

func (*Component) AddToScope

func (c *Component) AddToScope(ctx context.Context, scope *scopes.Scope)

func (*Component) ProcessRequest

func (*Component) RegisterHandlers

func (c *Component) RegisterHandlers(s *components.Server, mux *http.ServeMux) error

func (*Component) SyncInstallations

func (c *Component) SyncInstallations(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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