Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DDEV-Live bot message marker MessageMarker = "<!-- ddev-live bot -->" // Ping/pong Ping = "/ddev-live-ping" // Print help message for users calling the command Help = "/ddev-live-help" // Print help message on PR open, only when applicable HelpOnPROpen = "/ddev-live-help-on-pr-open" // Create preview site PreviewSite = "/ddev-live-preview-site" // Delete preview site, always provides verbose response event when no site exists DeletePreviewSite = "/ddev-live-delete-preview-site" // Close preview site, provides output only in case a preview site existed. This is for PR closing. ClosePreviewSite = "/ddev-live-close-preview-site" )
These strings contain supported `/ddev-live-*` commands in PR/MR comments
Variables ¶
This section is empty.
Functions ¶
func IsBotMessage ¶ added in v0.0.5
func RepoURLNormalize ¶ added in v0.0.5
Types ¶
type Bot ¶
type Bot interface { Response(args ResponseRequest) string ReceiveUpdate() (UpdateEvent, error) }
type ResponseRequest ¶
Click to show internal directories.
Click to hide internal directories.