integration

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IssueThemes = struct {
	Error    IssueTheme
	Info     IssueTheme
	Resolved IssueTheme
}{
	"ERROR",
	"INFO",
	"RESOLVED",
}
View Source
var IssueTrackerSystems = struct {
	Github        IssueTrackerSystem
	Gitlab        IssueTrackerSystem
	Jira          IssueTrackerSystem
	JiraCloud     IssueTrackerSystem
	JiraOnPremise IssueTrackerSystem
	Servicenow    IssueTrackerSystem
}{
	"GITHUB",
	"GITLAB",
	"JIRA",
	"JIRA_CLOUD",
	"JIRA_ON_PREMISE",
	"SERVICENOW",
}

Functions

This section is empty.

Types

type FlagDefaultTrue

type FlagDefaultTrue struct {
	Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
}

func (*FlagDefaultTrue) MarshalHCL

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

func (*FlagDefaultTrue) Schema

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

func (*FlagDefaultTrue) UnmarshalHCL

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

type IssueTheme

type IssueTheme string

type IssueTrackerSystem

type IssueTrackerSystem string

type Settings

type Settings struct {
	Enabled            bool               `json:"enabled"`            // This setting is enabled (`true`) or disabled (`false`)
	Issuelabel         string             `json:"issuelabel"`         // Set a label to identify these issues, for example, `release_blocker` or `non-critical`
	Issuequery         string             `json:"issuequery"`         // You can use the following placeholders to automatically insert values from the **Release monitoring** page in your query: `{NAME}`, `{VERSION}`, `{STAGE}`, `{PRODUCT}`.
	Issuetheme         IssueTheme         `json:"issuetheme"`         // Possible Values: `ERROR`, `INFO`, `RESOLVED`
	Issuetrackersystem IssueTrackerSystem `json:"issuetrackersystem"` // Possible Values: `GITHUB`, `GITLAB`, `JIRA`, `JIRA_CLOUD`, `JIRA_ON_PREMISE`, `SERVICENOW`
	Password           *string            `json:"password,omitempty"` // Password
	Token              *string            `json:"token,omitempty"`    // Token
	Url                string             `json:"url"`                // For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
	Username           string             `json:"username"`           // Username
}

func (*Settings) FillDemoValues

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

func (*Settings) MarshalHCL

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

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

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

func (*Settings) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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