command

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultCommands

func GetDefaultCommands(slackClient client.SlackClient, jira *jira.Client, config config.Config) bot.Commands

GetDefaultCommands returns a list of all commands

func NewAdminAddUser

func NewAdminAddUser(slackClient client.SlackClient) *adminAddUser

NewAdminAddUser is a command to allow a user to create new schedules

func NewAdminRemoveUser

func NewAdminRemoveUser(slackClient client.SlackClient) *adminRemoveUser

NewAdminRemoveUser is an admin command to remove users to be able to schedule crons

func NewHelp

func NewHelp(slackClient client.SlackClient, commands *bot.Commands) *help

NewHelp is a command to provide helpful information for various commands

func NewJiraIssue

func NewJiraIssue(slackClient client.SlackClient, jira *jira.Client, jiraCfg config.JiraConfig, jiraReplies config.ReplyConfig) *jiraIssue

NewJiraIssue is a command to get information on a JIRA ticket

func NewJiraIssues

func NewJiraIssues(slackClient client.SlackClient, jira *jira.Client, jiraCfg config.JiraConfig, jiraReplies config.ReplyConfig, regex config.RegexConfig) *jiraIssues

NewJiraIssues is a command to get information to a list of JIRA tickets

func NewJiraIssuesSingle added in v1.2.0

func NewJiraIssuesSingle(slackClient client.SlackClient, jira *jira.Client, jiraCfg config.JiraConfig, jiraReplies config.ReplyConfig, regex config.RegexConfig) *jiraIssuesSingle

func NewJiraOverview

func NewJiraOverview(slackClient client.SlackClient, jira *jira.Client, jiraCfg config.JiraConfig, jiraReplies config.ReplyConfig, regex config.RegexConfig) *jiraOverview

NewJiraOverview is a command to get an overview/report of bugs in a project

func NewScheduleAdd

func NewScheduleAdd(slackClient client.SlackClient, jira *jira.Client, jiraCfg config.JiraConfig, jiraReplies config.ReplyConfig, regex config.RegexConfig) *scheduleAdd

NewScheduleAdd is a command to schedule a command via a cron

func NewScheduleDelete

func NewScheduleDelete(slackClient client.SlackClient) *scheduleDelete

NewScheduleDelete is a command to delete a cron schedule

func NewScheduleList

func NewScheduleList(slackClient client.SlackClient) *scheduleList

NewScheduleList is a command to list all active schedules in a channel or all

Types

This section is empty.

Jump to

Keyboard shortcuts

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