webhook

package
v0.0.0-...-b219a09 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookHandler

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

func NewWebhookHandler

func NewWebhookHandler(controller *controller.Controller, clientset *kubernetes.Clientset, wfClientset *wfclient.Clientset, ghClientset *ghclient.Clientset, secret string) WebhookHandler

func (WebhookHandler) ApplyGitHook

func (h WebhookHandler) ApplyGitHook(manifest []byte, gh *ghapi.GitHook, annotations map[string]string)

func (WebhookHandler) GithubWebhook

func (h WebhookHandler) GithubWebhook(w http.ResponseWriter, r *http.Request)

func (WebhookHandler) UpdateGitHook

func (h WebhookHandler) UpdateGitHook(gh *ghapi.GitHook, annotations map[string]string, appliedResource ghapi.ResourceSpec)

Jump to

Keyboard shortcuts

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