helpdesk

package
v0.0.0-...-76764f7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FAQHandler

func FAQHandler(client slackClient, kubeClient ctrlruntimeclient.Client, forumChannelId string, namespace string) events.PartialHandler

func MessageHandler

func MessageHandler(client messagePoster, keywordsConfig KeywordsConfig, helpdeskAlias, forumChannelId, reviewRequestWorkflowID string, requireWorkflowsInForum bool) events.PartialHandler

MessageHandler returns a handler that knows how to respond to new messages in forum-ocp-testplatform channel that mention @dptp-helpdesk.

Types

type KeywordsConfig

type KeywordsConfig struct {
	KeywordList []KeywordsListItem `json:"keyword_list"`
}

type KeywordsListItem

type KeywordsListItem struct {
	Name     string   `json:"name"`
	Keywords []string `json:"keywords"`
	Link     string   `json:"link"`
}

Jump to

Keyboard shortcuts

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