notifications

package
v1.35.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jira

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

	URL         string `json:"url"`         // Jira endpoint URL
	Username    string `json:"username"`    // The username of the Jira profile
	APIToken    string `json:"apiToken"`    // The API token for the Jira profile. Using password authentication [was deprecated by Jira](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/)
	ProjectKey  string `json:"projectKey"`  // The project key of the Jira issue to be created by this notification
	IssueType   string `json:"issueType"`   // The type of the Jira issue to be created by this notification.\n\nTo find all available issue types, or to create your own issue type, within JIRA go to Options > Issues
	Summary     string `json:"summary"`     // The summary of the Jira issue to be created by this notification. Type '{' for placeholder suggestions
	Description string `json:"description"` // The description of the Jira issue to be created by this notification. Type '{' for placeholder suggestions
}

func (*Jira) FillDemoValues

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

func (*Jira) MarshalHCL

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

func (*Jira) PrepareMarshalHCL

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

func (*Jira) Schema

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

func (*Jira) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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