Documentation
¶
Index ¶
Constants ¶
View Source
const (
ModalCallbackID = "change-declare"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeContext ¶
type ChangeModalHandler ¶
type ChangeModalHandler struct { JobRunner *woodhouse.AsyncJobRunner SlackClient *slack.Client GitlabClient *gitlab.Client GitlabOpsClient *gitlab.Client GitlabProductionProjectPath string GitLabProfileSlackFieldID string }
func (*ChangeModalHandler) Handle ¶
func (i *ChangeModalHandler) Handle( event *instrumentation.Event, payload slack.InteractionCallback, w http.ResponseWriter, req *http.Request, )
func (*ChangeModalHandler) Validate ¶
func (i *ChangeModalHandler) Validate( event *instrumentation.Event, payload slack.InteractionCallback, w http.ResponseWriter, req *http.Request, ) *slack.ViewSubmissionResponse
type Criticality ¶
type Criticality int
func ParseCriticalityFromIssueLabel ¶
func ParseCriticalityFromIssueLabel(label string) (Criticality, error)
func (Criticality) IsC1C2 ¶
func (c Criticality) IsC1C2() bool
func (Criticality) IssueLabel ¶
func (c Criticality) IssueLabel() string
func (Criticality) SlackEmoji ¶
func (c Criticality) SlackEmoji() string
type SlashCommand ¶
type SlashCommand struct { SlackClient *slack.Client JobRunner *woodhouse.AsyncJobRunner ChangeChannelID string GitlabProductionProjectPath string GitlabGlInfraGroup string GitlabClient *gitlab.Client GitlabOpsClient *gitlab.Client }
func (*SlashCommand) Handle ¶
func (s *SlashCommand) Handle( event *instrumentation.Event, commandName string, command slack.SlashCommand, w http.ResponseWriter, req *http.Request, )
Click to show internal directories.
Click to hide internal directories.