Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCommands ¶
RegisterCommands should be called by the plugin to register all necessary commands
Types ¶
type Register ¶
Register is a function that allows the runner to register commands with the mattermost server.
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner handles commands.
func NewCommandRunner ¶
func NewCommandRunner(ctx *plugin.Context, args *model.CommandArgs, api *pluginapi.Client, logger bot.Logger, poster bot.Poster, playbookRunService app.PlaybookRunService, playbookService app.PlaybookService, configService config.Service, userInfoStore app.UserInfoStore, userInfoTelemetry app.UserInfoTelemetry, permissions *app.PermissionsService, ) *Runner
NewCommandRunner creates a command runner.
Click to show internal directories.
Click to hide internal directories.