Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { plugin.MattermostPlugin Store store.Store // contains filtered or unexported fields }
Plugin implements the interface expected by the Mattermost server to communicate between the server and plugin processes.
func (*Plugin) ExecuteCommand ¶
func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError)
ExecuteCommand is called when a slash command registered by the plugin is called
func (*Plugin) OnActivate ¶
OnActivate is run when the plugin is activated
func (*Plugin) OnConfigurationChange ¶
OnConfigurationChange is invoked when configuration changes may have been made.
type WebhookInfo ¶
type WebhookInfo struct { Organization string `json:"Organization"` Repository string `json:"Repository"` RepositoryURL string `json:"RepositoryURL"` Username string `json:"Username"` WorkflowID string `json:"WorkflowID"` JobName string `json:"JobName"` CircleBuildURL string `json:"CircleBuildURL"` Branch string `json:"Branch"` Tag string `json:"Tag"` Commit string `json:"Commit"` AssociatedPullRequests string `json:"AssociatedPullRequests"` Message string `json:"Message"` CircleBuildNumber int `json:"CircleBuildNumber"` IsFailed bool `json:"IsFailed"` IsWaitingApproval bool `json:"IsWaitingApproval"` }
WebhookInfo from the webhook
Click to show internal directories.
Click to hide internal directories.