triagebot

package module
v0.0.0-...-16d79ff Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 14 Imported by: 0

README

Triagebot

Package triagebot lists Jira issues awaiting triage.

Documentation

Overview

Package triagebot lists Jira issues awaiting triage.

Index

Constants

View Source
const ExternalUserText = "Kun brugere med en *@reload.dk* adresse kan se hvad der mangler triage"

ExternalUserText is the answer given to users without a @reload.dk e-mail.

View Source
const LeadText = "Følgende issues mangler triage"

LeadText is the text leading the list of issues needing triage.

View Source
const NoIssuesNeedTriage = "Ingen issues mangler triage"

NoIssuesNeedTriage is the text when no issues need triage.

View Source
const UnreleasedText = "Følgende issues der er vurderet critical/blocker er endnu ikke releaset"

UnreleasedText is the text leading the list of unreleased issues.

Variables

This section is empty.

Functions

func Handle

func Handle(resp http.ResponseWriter, req *http.Request)

Handle is the entrypoint for the Google Cloud Function.

Types

type SchedulePayload

type SchedulePayload struct {
	Stream string `json:"stream"`
	Token  string `json:"token"`
}

SchedulePayload is the message posted from Google Cloud Scheduler.

type ZulipPayload

type ZulipPayload struct {
	Data    string `json:"data"`
	Token   string `json:"token"`
	Message struct {
		ID          int    `json:"id"`
		SenderEmail string `json:"sender_email"`
	} `json:"message"`
}

ZulipPayload is the outgoing message received from Zulip.

type ZulipResponse

type ZulipResponse struct {
	Content string `json:"content"`
}

ZulipResponse is the data we send as an answer to the payload.

Directories

Path Synopsis
cmd
internal
cal

Jump to

Keyboard shortcuts

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