notifications

package
v1.58.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XMatters

type XMatters struct {
	Enabled   bool   `json:"-"`
	Name      string `json:"-"`
	ProfileID string `json:"-"`

	URL      string       `json:"url"`                  // The URL of the xMatters webhook
	Insecure bool         `json:"acceptAnyCertificate"` // Accept any SSL certificate (including self-signed and invalid certificates)
	Headers  http.Headers `json:"headers,omitempty"`    // Additional HTTP headers
	Payload  string       `json:"payload"`              // The content of the notification message. Type '{' for placeholder suggestions
}

func (*XMatters) FillDemoValues

func (me *XMatters) FillDemoValues() []string

func (*XMatters) MarshalHCL

func (me *XMatters) MarshalHCL(properties hcl.Properties) error

func (*XMatters) Schema

func (me *XMatters) Schema() map[string]*schema.Schema

func (*XMatters) UnmarshalHCL

func (me *XMatters) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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