Documentation ¶
Index ¶
- Constants
- func InitIssue(c *jira.Client, metaProject *jira.MetaProject, ...) (*jira.Issue, error)
- func IsK8s() bool
- type DockerClient
- type EmailOutput
- type ExecClient
- type HTTPClient
- type JiraAPI
- type KubernetesClient
- type NexusIqOutput
- type Output
- type ServiceNowOutput
- type SlackOutput
- type SplunkOutput
- type StdoutOutput
- type TeamsOutput
- type WebhookOutput
Constants ¶
View Source
const ( KubernetesLabelKey = "labels" KubernetesAnnotationKey = "annotations" )
View Source
const (
ApplicationScopeOwner = "<%application_scope_owner%>"
)
View Source
const (
NotConfiguredSprintId = -1
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerClient ¶ added in v2.3.0
type DockerClient struct { Name string ImageName string Cmd []string Volumes map[string]string Network string Env []string // contains filtered or unexported fields }
func (DockerClient) GetLayoutProvider ¶ added in v2.3.0
func (d DockerClient) GetLayoutProvider() layout.LayoutProvider
func (DockerClient) GetName ¶ added in v2.3.0
func (d DockerClient) GetName() string
func (*DockerClient) Init ¶ added in v2.3.0
func (d *DockerClient) Init() error
func (DockerClient) Terminate ¶ added in v2.3.0
func (d DockerClient) Terminate() error
type EmailOutput ¶
type EmailOutput struct { Name string User string Password string Host string Port int Sender string Recipients []string UseMX bool // contains filtered or unexported fields }
func (*EmailOutput) GetLayoutProvider ¶
func (email *EmailOutput) GetLayoutProvider() layout.LayoutProvider
func (*EmailOutput) GetName ¶
func (email *EmailOutput) GetName() string
func (*EmailOutput) Init ¶
func (email *EmailOutput) Init() error
func (*EmailOutput) Terminate ¶
func (email *EmailOutput) Terminate() error
type ExecClient ¶ added in v2.1.0
type ExecClient struct { ExecCmd execCmd Name string Env []string InputFile string ExecScript string Output []byte }
func (*ExecClient) GetLayoutProvider ¶ added in v2.1.0
func (e *ExecClient) GetLayoutProvider() layout.LayoutProvider
func (*ExecClient) GetName ¶ added in v2.1.0
func (e *ExecClient) GetName() string
func (*ExecClient) Init ¶ added in v2.1.0
func (e *ExecClient) Init() error
func (*ExecClient) Terminate ¶ added in v2.1.0
func (e *ExecClient) Terminate() error
type HTTPClient ¶ added in v2.1.0
type HTTPClient struct { Name string Client http.Client URL *url.URL Method string BodyFile string BodyContent string Headers map[string][]string }
func (HTTPClient) GetLayoutProvider ¶ added in v2.1.0
func (hc HTTPClient) GetLayoutProvider() layout.LayoutProvider
func (*HTTPClient) GetName ¶ added in v2.1.0
func (hc *HTTPClient) GetName() string
func (*HTTPClient) Init ¶ added in v2.1.0
func (hc *HTTPClient) Init() error
func (HTTPClient) Terminate ¶ added in v2.1.0
func (hc HTTPClient) Terminate() error
type JiraAPI ¶
type JiraAPI struct { Name string Url string User string Password string Token string TlsVerify bool Issuetype string ProjectKey string Priority string Assignee []string Description string Summary string SprintName string SprintId int FixVersions []string AffectsVersions []string Labels []string Unknowns map[string]string BoardName string // contains filtered or unexported fields }
func (*JiraAPI) GetLayoutProvider ¶
func (jira *JiraAPI) GetLayoutProvider() layout.LayoutProvider
type KubernetesClient ¶ added in v2.2.0
type KubernetesClient struct { Name string KubeNamespace string KubeConfigFile string KubeLabelSelector string KubeActions map[string]map[string]string // contains filtered or unexported fields }
func (KubernetesClient) GetLayoutProvider ¶ added in v2.2.0
func (k KubernetesClient) GetLayoutProvider() layout.LayoutProvider
func (KubernetesClient) GetName ¶ added in v2.2.0
func (k KubernetesClient) GetName() string
func (*KubernetesClient) Init ¶ added in v2.2.0
func (k *KubernetesClient) Init() error
func (KubernetesClient) Send ¶ added in v2.2.0
func (k KubernetesClient) Send(m map[string]string) error
func (KubernetesClient) Terminate ¶ added in v2.2.0
func (k KubernetesClient) Terminate() error
type NexusIqOutput ¶ added in v2.3.0
type NexusIqOutput struct { Name string Url string User string Password string OrganizationId string }
func (*NexusIqOutput) GetLayoutProvider ¶ added in v2.3.0
func (nexus *NexusIqOutput) GetLayoutProvider() layout.LayoutProvider
func (*NexusIqOutput) GetName ¶ added in v2.3.0
func (nexus *NexusIqOutput) GetName() string
func (*NexusIqOutput) Init ¶ added in v2.3.0
func (nexus *NexusIqOutput) Init() error
func (*NexusIqOutput) Send ¶ added in v2.3.0
func (nexus *NexusIqOutput) Send(content map[string]string) error
func (*NexusIqOutput) Terminate ¶ added in v2.3.0
func (nexus *NexusIqOutput) Terminate() error
type ServiceNowOutput ¶
type ServiceNowOutput struct { Name string User string Password string Instance string Table string // contains filtered or unexported fields }
func (*ServiceNowOutput) GetLayoutProvider ¶
func (sn *ServiceNowOutput) GetLayoutProvider() layout.LayoutProvider
func (*ServiceNowOutput) GetName ¶
func (sn *ServiceNowOutput) GetName() string
func (*ServiceNowOutput) Init ¶
func (sn *ServiceNowOutput) Init() error
func (*ServiceNowOutput) Terminate ¶
func (sn *ServiceNowOutput) Terminate() error
type SlackOutput ¶
type SlackOutput struct { Name string AquaServer string Url string // contains filtered or unexported fields }
func (*SlackOutput) GetLayoutProvider ¶
func (slack *SlackOutput) GetLayoutProvider() layout.LayoutProvider
func (*SlackOutput) GetName ¶
func (slack *SlackOutput) GetName() string
func (*SlackOutput) Init ¶
func (slack *SlackOutput) Init() error
func (*SlackOutput) Terminate ¶
func (slack *SlackOutput) Terminate() error
type SplunkOutput ¶
type SplunkOutput struct { Name string Url string Token string EventLimit int // contains filtered or unexported fields }
func (*SplunkOutput) GetLayoutProvider ¶
func (splunk *SplunkOutput) GetLayoutProvider() layout.LayoutProvider
func (*SplunkOutput) GetName ¶
func (splunk *SplunkOutput) GetName() string
func (*SplunkOutput) Init ¶
func (splunk *SplunkOutput) Init() error
func (*SplunkOutput) Terminate ¶
func (splunk *SplunkOutput) Terminate() error
type StdoutOutput ¶
type StdoutOutput struct {
Name string
}
func (StdoutOutput) GetLayoutProvider ¶
func (stdout StdoutOutput) GetLayoutProvider() layout.LayoutProvider
func (StdoutOutput) GetName ¶
func (stdout StdoutOutput) GetName() string
func (StdoutOutput) Init ¶
func (stdout StdoutOutput) Init() error
func (StdoutOutput) Terminate ¶
func (stdout StdoutOutput) Terminate() error
type TeamsOutput ¶
type TeamsOutput struct { Name string AquaServer string Webhook string // contains filtered or unexported fields }
func (*TeamsOutput) GetLayoutProvider ¶
func (teams *TeamsOutput) GetLayoutProvider() layout.LayoutProvider
func (*TeamsOutput) GetName ¶
func (teams *TeamsOutput) GetName() string
func (*TeamsOutput) Init ¶
func (teams *TeamsOutput) Init() error
func (*TeamsOutput) Terminate ¶
func (teams *TeamsOutput) Terminate() error
type WebhookOutput ¶
func (*WebhookOutput) GetLayoutProvider ¶
func (webhook *WebhookOutput) GetLayoutProvider() layout.LayoutProvider
func (*WebhookOutput) GetName ¶
func (webhook *WebhookOutput) GetName() string
func (*WebhookOutput) Init ¶
func (webhook *WebhookOutput) Init() error
func (*WebhookOutput) Terminate ¶
func (webhook *WebhookOutput) Terminate() error
Click to show internal directories.
Click to hide internal directories.