issueswebhook

package module
Version: v0.0.0-...-3ed4219 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Go Reference

golang.org/x/build/cloudfns/issueswebhook

Package issueswebhook implements a Google Cloud Function HTTP handler that expects GitHub webhook change events.

Deploying

gcloud functions deploy GitHubIssueChangeWebHook \
  --project=symbolic-datum-552 \
  --runtime go113 \
  --trigger-http \
  --set-env-vars="GCS_BUCKET=golang-github-issue-data,GITHUB_WEBHOOK_SECRET=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=github-webhook-secret)"

Documentation

Overview

Package issueswebhook implements a Google Cloud Function HTTP handler that expects GitHub webhook change events. Specifically, it reacts to issue change events and saves the data to a GCS bucket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubIssueChangeWebHook

func GitHubIssueChangeWebHook(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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