Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebHook ¶
type WebHook struct { Enabled bool `json:"-"` Name string `json:"-"` ProfileID string `json:"-"` URL string `json:"url"` // The URL of the WebHook endpoint Insecure bool `json:"acceptAnyCertificate"` // Accept any SSL certificate (including self-signed and invalid certificates) NotifyEventMergesEnabled bool `json:"notifyEventMergesEnabled"` // Call webhook if new events merge into existing problems NotifyClosedProblems bool `json:"notifyClosedProblems"` // Call webhook if problem is closed Headers http.Headers `json:"headers,omitempty"` // Additional HTTP headers Payload string `json:"payload"` // The content of the notification message. Type '{' for placeholder suggestions UseOAuth2 *bool `json:"useOAuth2,omitempty"` }
func (*WebHook) FillDemoValues ¶
func (*WebHook) MarshalHCL ¶
func (me *WebHook) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.