notifications

package
v1.58.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slack

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

	URL     string `json:"url"`     // Set up an incoming WebHook integration within your Slack account. Copy and paste the generated WebHook URL into the field above
	Channel string `json:"channel"` // The channel (for example, `#general`) or the user (for example, `@john.smith`) to send the message to
	Message string `json:"message"` // The content of the message. Type '{' for placeholder suggestions
}

func (*Slack) FillDemoValues

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

func (*Slack) MarshalHCL

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

func (*Slack) PrepareMarshalHCL

func (me *Slack) PrepareMarshalHCL(decoder hcl.Decoder) error

func (*Slack) Schema

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

func (*Slack) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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