wikiwebhook

package module
v0.0.0-...-208db0b Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

README

Go Reference

golang.org/x/build/cloudfns/wikiwebhook

Package wikiwebhook implements an Google Cloud Function HTTP handler that expects GitHub webhook change events.

Deploying

gcloud functions deploy GitHubWikiChangeWebHook \
  --project=symbolic-datum-552 \
  --runtime go113 \
  --trigger-http \
  --set-env-vars="PUBSUB_TOPIC=github.webhooks.golang.go.wiki,GCP_PROJECT=symbolic-datum-552,GITHUB_WEBHOOK_SECRET=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=github-webhook-secret)"

Documentation

Overview

Package wikiwebhook implements an Google Cloud Function HTTP handler that expects GitHub webhook change events. Specifically, it reacts to wiki change events and posts the payload to a pubsub topic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubWikiChangeWebHook

func GitHubWikiChangeWebHook(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