Documentation
¶
Index ¶
- type Gitlab
- func (g *Gitlab) CustomPipelineGetVariables(gitlabOptions GitlabOptions, pipelineOptions GitlabPipelineOptions, ...) ([]byte, error)
- func (g Gitlab) GetLastPipeline(project int, ref string) ([]byte, error)
- func (g Gitlab) GetLastPipelineVariables(project int, ref string) ([]byte, error)
- func (g *Gitlab) PipelineGetVariables(pipelineOptions GitlabPipelineOptions, ...) ([]byte, error)
- type GitlabOptions
- type GitlabPipelineGetVariablesOptions
- type GitlabPipelineOptions
- type GitlabPipelineVariableResp
- type GitlabPipelinesResp
- type Google
- type GoogleCalendarOptions
- type GoogleOptions
- type GoogleTokenReponse
- type Grafana
- func (g *Grafana) CreateAnnotation(options GrafanaCreateAnnotationOptions) ([]byte, error)
- func (g Grafana) CustomCreateAnnotation(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, ...) ([]byte, error)
- func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions) ([]byte, error)
- func (g *Grafana) CustomRenderImage(grafanaOptions GrafanaOptions, renderImageOptions GrafanaRenderImageOptions) ([]byte, error)
- func (g *Grafana) GetAnnotations(options GrafanaGetAnnotationsOptions) ([]byte, error)
- func (g *Grafana) GetDashboards() ([]byte, error)
- func (g *Grafana) RenderImage(options GrafanaRenderImageOptions) ([]byte, error)
- type GrafanaAnnotation
- type GrafanaCreateAnnotationOptions
- type GrafanaGetAnnotationsOptions
- type GrafanaOptions
- type GrafanaRenderImageOptions
- type Graylog
- type GraylogOptions
- type JSON
- type JSONOptions
- type JSONOutputOptions
- type Jira
- func (j *Jira) CustomIssueAddAttachment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) CustomIssueAddComment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) CustomIssueChangeTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) CustomIssueCreate(jiraOptions JiraOptions, issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) CustomIssueSearch(jiraOptions JiraOptions, issueSearch JiraIssueSearch) ([]byte, error)
- func (j *Jira) CustomIssueUpdate(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
- func (j *Jira) IssueAddAttachment(issueOptions JiraIssueOptions, ...) ([]byte, error)
- func (j *Jira) IssueAddComment(issueOptions JiraIssueOptions, addCommentOptions JiraIssueAddCommentOptions) ([]byte, error)
- func (j *Jira) IssueChangeTransitions(options JiraIssueOptions) ([]byte, error)
- func (j *Jira) IssueCreate(issueOptions JiraIssueOptions, issueCreateOptions JiraIssueCreateOptions) ([]byte, error)
- func (j *Jira) IssueSearch(options JiraIssueSearch) ([]byte, error)
- func (j *Jira) IssueUpdate(options JiraIssueOptions) ([]byte, error)
- type JiraIssueAddAttachmentOptions
- type JiraIssueAddComment
- type JiraIssueAddCommentOptions
- type JiraIssueAssignee
- type JiraIssueCreate
- type JiraIssueCreateOptions
- type JiraIssueFields
- type JiraIssueOptions
- type JiraIssuePriority
- type JiraIssueProject
- type JiraIssueReporter
- type JiraIssueSearch
- type JiraIssueTransition
- type JiraIssueType
- type JiraIssueUpdate
- type JiraOptions
- type JiraTransition
- type OutputCode
- type Prometheus
- type PrometheusOptions
- type PrometheusOutputOptions
- type Slack
- func (s *Slack) Send() ([]byte, error)
- func (s *Slack) SendCustom(m SlackMessage) ([]byte, error)
- func (s *Slack) SendCustomFile(m SlackMessage) ([]byte, error)
- func (s *Slack) SendCustomMessage(m SlackMessage) ([]byte, error)
- func (s *Slack) SendFile() ([]byte, error)
- func (s *Slack) SendMessage() ([]byte, error)
- type SlackMessage
- type SlackOptions
- type SlackOutputOptions
- type Telegram
- func (t *Telegram) CustomSendDocument(telegramOptions TelegramOptions, documentOptions TelegramDocumentOptions) ([]byte, error)
- func (t *Telegram) CustomSendMessage(telegramOptions TelegramOptions, messageOptions TelegramMessageOptions) ([]byte, error)
- func (t *Telegram) CustomSendPhoto(telegramOptions TelegramOptions, photoOptions TelegramPhotoOptions) ([]byte, error)
- func (t *Telegram) SendDocument(options TelegramDocumentOptions) ([]byte, error)
- func (t *Telegram) SendMessage(options TelegramMessageOptions) ([]byte, error)
- func (t *Telegram) SendPhoto(options TelegramPhotoOptions) ([]byte, error)
- type TelegramDocumentOptions
- type TelegramMessageOptions
- type TelegramOptions
- type TelegramPhotoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶ added in v0.3.0
type Gitlab struct {
// contains filtered or unexported fields
}
func NewGitlab ¶ added in v0.3.0
func NewGitlab(options GitlabOptions) (*Gitlab, error)
func (*Gitlab) CustomPipelineGetVariables ¶ added in v0.4.3
func (g *Gitlab) CustomPipelineGetVariables(gitlabOptions GitlabOptions, pipelineOptions GitlabPipelineOptions, pipelineGetVariablesOptions GitlabPipelineGetVariablesOptions) ([]byte, error)
func (Gitlab) GetLastPipeline ¶ added in v0.3.0
func (Gitlab) GetLastPipelineVariables ¶ added in v0.3.0
func (*Gitlab) PipelineGetVariables ¶ added in v0.4.3
func (g *Gitlab) PipelineGetVariables(pipelineOptions GitlabPipelineOptions, pipelineGetVariablesOptions GitlabPipelineGetVariablesOptions) ([]byte, error)
type GitlabOptions ¶ added in v0.3.0
type GitlabPipelineGetVariablesOptions ¶ added in v0.4.3
type GitlabPipelineGetVariablesOptions struct {
Query []string
}
type GitlabPipelineOptions ¶ added in v0.4.3
type GitlabPipelineVariableResp ¶ added in v0.4.3
type GitlabPipelinesResp ¶ added in v0.4.3
type GitlabPipelinesResp struct {
ID int `json:"id"`
Iid int `json:"iid"`
ProjectID int `json:"project_id"`
Sha string `json:"sha"`
Ref string `json:"ref"`
Status string `json:"status"`
Source string `json:"source"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
WebURL string `json:"web_url"`
}
type Google ¶ added in v0.3.0
type Google struct {
// contains filtered or unexported fields
}
func NewGoogle ¶ added in v0.3.0
func NewGoogle(options GoogleOptions, stdout *common.Stdout) (*Google, error)
func (*Google) CalendarGetEvents ¶ added in v0.3.0
func (g *Google) CalendarGetEvents(options GoogleCalendarOptions) ([]byte, error)
func (*Google) CustomCalendarGetEvents ¶ added in v0.4.3
func (g *Google) CustomCalendarGetEvents(googleOptions GoogleOptions, calendarOptions GoogleCalendarOptions) ([]byte, error)
type GoogleCalendarOptions ¶ added in v0.3.0
type GoogleOptions ¶ added in v0.3.0
type GoogleTokenReponse ¶ added in v0.3.0
type Grafana ¶ added in v0.2.0
type Grafana struct {
// contains filtered or unexported fields
}
func NewGrafana ¶ added in v0.2.0
func NewGrafana(options GrafanaOptions) (*Grafana, error)
func (*Grafana) CreateAnnotation ¶ added in v0.3.3
func (g *Grafana) CreateAnnotation(options GrafanaCreateAnnotationOptions) ([]byte, error)
func (Grafana) CustomCreateAnnotation ¶ added in v0.4.3
func (g Grafana) CustomCreateAnnotation(grafanaOptions GrafanaOptions, createAnnotationOptions GrafanaCreateAnnotationOptions) ([]byte, error)
func (*Grafana) CustomGetAnnotations ¶ added in v0.4.3
func (g *Grafana) CustomGetAnnotations(grafanaOptions GrafanaOptions, getAnnotationsOptions GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) CustomGetDashboards ¶ added in v0.4.3
func (g *Grafana) CustomGetDashboards(grafanaOptions GrafanaOptions) ([]byte, error)
func (*Grafana) CustomRenderImage ¶ added in v0.4.3
func (g *Grafana) CustomRenderImage(grafanaOptions GrafanaOptions, renderImageOptions GrafanaRenderImageOptions) ([]byte, error)
func (*Grafana) GetAnnotations ¶ added in v0.3.0
func (g *Grafana) GetAnnotations(options GrafanaGetAnnotationsOptions) ([]byte, error)
func (*Grafana) GetDashboards ¶ added in v0.2.0
func (*Grafana) RenderImage ¶ added in v0.2.0
func (g *Grafana) RenderImage(options GrafanaRenderImageOptions) ([]byte, error)
type GrafanaAnnotation ¶ added in v0.3.3
type GrafanaCreateAnnotationOptions ¶ added in v0.3.3
type GrafanaGetAnnotationsOptions ¶ added in v0.3.0
type GrafanaOptions ¶ added in v0.2.0
type GrafanaRenderImageOptions ¶ added in v0.2.0
type Graylog ¶
type Graylog struct {
// contains filtered or unexported fields
}
func NewGraylog ¶
func NewGraylog(options GraylogOptions) (*Graylog, error)
type GraylogOptions ¶
type JSON ¶ added in v0.2.7
type JSON struct {
// contains filtered or unexported fields
}
func NewJSON ¶ added in v0.2.7
func NewJSON(options JSONOptions) *JSON
type JSONOptions ¶ added in v0.2.7
type JSONOutputOptions ¶ added in v0.2.7
type Jira ¶ added in v0.1.0
type Jira struct {
// contains filtered or unexported fields
}
func NewJira ¶ added in v0.1.0
func NewJira(options JiraOptions) (*Jira, error)
func (*Jira) CustomIssueAddAttachment ¶ added in v0.4.3
func (j *Jira) CustomIssueAddAttachment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, addAttachmentOptions JiraIssueAddAttachmentOptions) ([]byte, error)
func (*Jira) CustomIssueAddComment ¶ added in v0.4.3
func (j *Jira) CustomIssueAddComment(jiraOptions JiraOptions, issueOptions JiraIssueOptions, addCommentOptions JiraIssueAddCommentOptions) ([]byte, error)
func (*Jira) CustomIssueChangeTransitions ¶ added in v0.6.17
func (j *Jira) CustomIssueChangeTransitions(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
func (*Jira) CustomIssueCreate ¶ added in v0.4.3
func (j *Jira) CustomIssueCreate(jiraOptions JiraOptions, issueOptions JiraIssueOptions, issueCreateOptions JiraIssueCreateOptions) ([]byte, error)
func (*Jira) CustomIssueSearch ¶ added in v0.6.17
func (j *Jira) CustomIssueSearch(jiraOptions JiraOptions, issueSearch JiraIssueSearch) ([]byte, error)
func (*Jira) CustomIssueUpdate ¶ added in v0.4.3
func (j *Jira) CustomIssueUpdate(jiraOptions JiraOptions, issueOptions JiraIssueOptions) ([]byte, error)
func (*Jira) IssueAddAttachment ¶ added in v0.2.0
func (j *Jira) IssueAddAttachment(issueOptions JiraIssueOptions, addAttachmentOptions JiraIssueAddAttachmentOptions) ([]byte, error)
func (*Jira) IssueAddComment ¶ added in v0.2.0
func (j *Jira) IssueAddComment(issueOptions JiraIssueOptions, addCommentOptions JiraIssueAddCommentOptions) ([]byte, error)
func (*Jira) IssueChangeTransitions ¶ added in v0.6.17
func (j *Jira) IssueChangeTransitions(options JiraIssueOptions) ([]byte, error)
func (*Jira) IssueCreate ¶ added in v0.4.2
func (j *Jira) IssueCreate(issueOptions JiraIssueOptions, issueCreateOptions JiraIssueCreateOptions) ([]byte, error)
func (*Jira) IssueSearch ¶ added in v0.6.17
func (j *Jira) IssueSearch(options JiraIssueSearch) ([]byte, error)
func (*Jira) IssueUpdate ¶ added in v0.4.2
func (j *Jira) IssueUpdate(options JiraIssueOptions) ([]byte, error)
type JiraIssueAddAttachmentOptions ¶ added in v0.2.0
type JiraIssueAddComment ¶ added in v0.2.0
type JiraIssueAddComment struct {
Body string `json:"body"`
}
type JiraIssueAddCommentOptions ¶ added in v0.2.0
type JiraIssueAddCommentOptions struct {
Body string
}
type JiraIssueAssignee ¶ added in v0.2.0
type JiraIssueAssignee struct {
Name string `json:"name"`
}
type JiraIssueCreate ¶ added in v0.4.2
type JiraIssueCreate struct {
Fields *JiraIssueFields `json:"fields"`
}
type JiraIssueCreateOptions ¶ added in v0.4.2
type JiraIssueFields ¶ added in v0.2.0
type JiraIssueFields struct {
Project *JiraIssueProject `json:"project,omitempty"`
IssueType *JiraIssueType `json:"issuetype,omitempty"`
Summary string `json:"summary,omitempty"`
Description string `json:"description,omitempty"`
Labels []string `json:"labels,omitempty"`
Priority *JiraIssuePriority `json:"priority,omitempty"`
Assignee *JiraIssueAssignee `json:"assignee,omitempty"`
Reporter *JiraIssueReporter `json:"reporter,omitempty"`
}
type JiraIssueOptions ¶ added in v0.2.0
type JiraIssuePriority ¶ added in v0.2.0
type JiraIssuePriority struct {
Name string `json:"name"`
}
type JiraIssueProject ¶ added in v0.2.0
type JiraIssueProject struct {
Key string `json:"key"`
}
type JiraIssueReporter ¶ added in v0.2.0
type JiraIssueReporter struct {
Name string `json:"name"`
}
type JiraIssueSearch ¶ added in v0.6.17
type JiraIssueSearch struct {
SearchPattern string
}
type JiraIssueTransition ¶ added in v0.6.17
type JiraIssueTransition struct {
Transition *JiraTransition `json:"transition"`
}
type JiraIssueType ¶ added in v0.2.0
type JiraIssueType struct {
Name string `json:"name"`
}
type JiraIssueUpdate ¶ added in v0.4.2
type JiraIssueUpdate struct {
Fields *JiraIssueFields `json:"fields"`
}
type JiraOptions ¶ added in v0.1.0
type JiraTransition ¶ added in v0.6.17
type JiraTransition struct {
ID string `json:"id"`
}
type OutputCode ¶ added in v0.7.2
type OutputCode struct {
Code int `json:"code"`
}
type Prometheus ¶ added in v0.6.0
type Prometheus struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶ added in v0.6.0
func NewPrometheus(options PrometheusOptions) *Prometheus
func (*Prometheus) CustomGet ¶ added in v0.6.0
func (p *Prometheus) CustomGet(options PrometheusOptions) ([]byte, error)
func (*Prometheus) Get ¶ added in v0.6.0
func (p *Prometheus) Get() ([]byte, error)
type PrometheusOptions ¶ added in v0.6.0
type PrometheusOutputOptions ¶ added in v0.6.0
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func NewSlack ¶
func NewSlack(options SlackOptions) (*Slack, error)
func (*Slack) SendCustom ¶
func (s *Slack) SendCustom(m SlackMessage) ([]byte, error)
func (*Slack) SendCustomFile ¶
func (s *Slack) SendCustomFile(m SlackMessage) ([]byte, error)
func (*Slack) SendCustomMessage ¶ added in v0.2.1
func (s *Slack) SendCustomMessage(m SlackMessage) ([]byte, error)
func (*Slack) SendMessage ¶ added in v0.2.0
type SlackMessage ¶ added in v0.2.0
type SlackOptions ¶
type SlackOutputOptions ¶ added in v0.2.0
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
func NewTelegram(options TelegramOptions) (*Telegram, error)
func (*Telegram) CustomSendDocument ¶ added in v0.4.3
func (t *Telegram) CustomSendDocument(telegramOptions TelegramOptions, documentOptions TelegramDocumentOptions) ([]byte, error)
func (*Telegram) CustomSendMessage ¶ added in v0.4.3
func (t *Telegram) CustomSendMessage(telegramOptions TelegramOptions, messageOptions TelegramMessageOptions) ([]byte, error)
func (*Telegram) CustomSendPhoto ¶ added in v0.4.3
func (t *Telegram) CustomSendPhoto(telegramOptions TelegramOptions, photoOptions TelegramPhotoOptions) ([]byte, error)
func (*Telegram) SendDocument ¶ added in v0.2.0
func (t *Telegram) SendDocument(options TelegramDocumentOptions) ([]byte, error)
func (*Telegram) SendMessage ¶ added in v0.2.1
func (t *Telegram) SendMessage(options TelegramMessageOptions) ([]byte, error)
type TelegramDocumentOptions ¶ added in v0.2.1
type TelegramMessageOptions ¶ added in v0.2.1
type TelegramMessageOptions struct {
Text string
}
type TelegramOptions ¶
type TelegramPhotoOptions ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.