github

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIProvider

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

func (*APIProvider) Comment

func (*APIProvider) GetChanges

type GitHubSubscription

type GitHubSubscription string
const (
	GitHubEnterprise GitHubSubscription = "enterprise"
	GitHubClassic    GitHubSubscription = "classic"
)

type Github

type Github struct {
	Config credentials.Credential
}

func (*Github) GetAPIProvider

func (g *Github) GetAPIProvider() (types.APIProvider, error)

func (*Github) GetGitProvider

func (g *Github) GetGitProvider(repository *configv1alpha1.TerraformRepository) (types.GitProvider, error)

func (*Github) GetWebhookProvider

func (g *Github) GetWebhookProvider() (types.WebhookProvider, error)

type WebhookProvider

type WebhookProvider struct {
	*wh.Webhook
}

func (*WebhookProvider) GetEventFromWebhookPayload

func (wp *WebhookProvider) GetEventFromWebhookPayload(p interface{}) (event.Event, error)

func (*WebhookProvider) ParseWebhookPayload

func (wp *WebhookProvider) ParseWebhookPayload(r *nethttp.Request) (interface{}, bool)

Jump to

Keyboard shortcuts

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