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) 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 InsertAfter string `json:"-"` }
func (*Settings) FillDemoValues ¶
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.