Documentation
¶
Index ¶
- type Grafana
- type GrafanaGetDashboardsOptions
- type GrafanaOptions
- type GrafanaRenderImageOptions
- type Graylog
- type GraylogOptions
- type Jira
- func (j *Jira) CreateCustomIssue(opts JiraOptions) ([]byte, error)
- func (j *Jira) CreateIssue() ([]byte, error)
- func (j *Jira) IssueAddAttachment() ([]byte, error)
- func (j *Jira) IssueAddComment() ([]byte, error)
- func (j *Jira) IssueAddCustomAttachment(opts JiraOptions) ([]byte, error)
- func (j *Jira) IssueAddCustomComment(opts JiraOptions) ([]byte, error)
- type JiraCreateIssue
- type JiraCreateIssueOptions
- type JiraIssueAddAttachmentOptions
- type JiraIssueAddComment
- type JiraIssueAddCommentOptions
- type JiraIssueAssignee
- type JiraIssueFields
- type JiraIssueOptions
- type JiraIssuePriority
- type JiraIssueProject
- type JiraIssueReporter
- type JiraIssueType
- type JiraOptions
- 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) SendFile() ([]byte, error)
- func (s *Slack) SendMessage() ([]byte, error)
- func (s *Slack) SendMessageCustom(m SlackMessage) ([]byte, error)
- type SlackMessage
- type SlackOptions
- type SlackOutputOptions
- type Telegram
- func (t *Telegram) Send() ([]byte, error)
- func (t *Telegram) SendCustom(opts TelegramOptions) ([]byte, error)
- func (t *Telegram) SendCustomDocument(opts TelegramOptions) ([]byte, error)
- func (t *Telegram) SendCustomPhoto(opts TelegramOptions) ([]byte, error)
- func (t *Telegram) SendDocument() ([]byte, error)
- func (t *Telegram) SendPhoto() ([]byte, error)
- type TelegramOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
func (*Grafana) GetCustomDashboards ¶ added in v0.2.0
func (g *Grafana) GetCustomDashboards(opts GrafanaOptions) ([]byte, error)
func (*Grafana) GetDashboards ¶ added in v0.2.0
func (*Grafana) RenderCustomImage ¶ added in v0.2.0
func (g *Grafana) RenderCustomImage(opts GrafanaOptions) ([]byte, error)
func (*Grafana) RenderImage ¶ added in v0.2.0
type GrafanaGetDashboardsOptions ¶ added in v0.2.0
type GrafanaOptions ¶ added in v0.2.0
type GrafanaOptions struct {
URL string
Timeout int
Insecure bool
ApiKey string
OrgID string
UID string
Slug string
RenderImageOptions *GrafanaRenderImageOptions
GetDashboardsOptions *GrafanaGetDashboardsOptions
}
type GrafanaRenderImageOptions ¶ added in v0.2.0
type Graylog ¶
type Graylog struct {
// contains filtered or unexported fields
}
func NewGraylog ¶
func NewGraylog(options GraylogOptions) *Graylog
type GraylogOptions ¶
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
func (*Jira) CreateCustomIssue ¶ added in v0.2.0
func (j *Jira) CreateCustomIssue(opts JiraOptions) ([]byte, error)
func (*Jira) CreateIssue ¶ added in v0.2.0
func (*Jira) IssueAddAttachment ¶ added in v0.2.0
func (*Jira) IssueAddComment ¶ added in v0.2.0
func (*Jira) IssueAddCustomAttachment ¶ added in v0.2.0
func (j *Jira) IssueAddCustomAttachment(opts JiraOptions) ([]byte, error)
func (*Jira) IssueAddCustomComment ¶ added in v0.2.0
func (j *Jira) IssueAddCustomComment(opts JiraOptions) ([]byte, error)
type JiraCreateIssue ¶ added in v0.2.0
type JiraCreateIssue struct {
Fields *JiraIssueFields `json:"fields"`
}
type JiraCreateIssueOptions ¶ added in v0.2.0
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 JiraIssueFields ¶ added in v0.2.0
type JiraIssueFields struct {
Project *JiraIssueProject `json:"project"`
IssueType *JiraIssueType `json:"issuetype"`
Summary string `json:"summary"`
Description string `json:"description"`
Labels []string `json:"labels"`
Priority *JiraIssuePriority `json:"priority,omitempty"`
Assignee *JiraIssueAssignee `json:"assignee,omitempty"`
Reporter *JiraIssueReporter `json:"reporter,omitempty"`
}
type JiraIssueOptions ¶ added in v0.2.0
type JiraIssueOptions struct {
IdOrKey string
}
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 JiraIssueType ¶ added in v0.2.0
type JiraIssueType struct {
Name string `json:"name"`
}
type JiraOptions ¶ added in v0.1.0
type JiraOptions struct {
URL string
Timeout int
Insecure bool
User string
Password string
CreateIssueOptions *JiraCreateIssueOptions
IssueOptions *JiraIssueOptions
IssueAddCommentOptions *JiraIssueAddCommentOptions
IssueAddAttachmentOptions *JiraIssueAddAttachmentOptions
}
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func NewSlack ¶
func NewSlack(options SlackOptions) *Slack
func (*Slack) SendCustom ¶
func (s *Slack) SendCustom(m SlackMessage) ([]byte, error)
func (*Slack) SendCustomFile ¶
func (s *Slack) SendCustomFile(m SlackMessage) ([]byte, error)
func (*Slack) SendMessage ¶ added in v0.2.0
func (*Slack) SendMessageCustom ¶ added in v0.2.0
func (s *Slack) SendMessageCustom(m SlackMessage) ([]byte, error)
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
func (*Telegram) SendCustom ¶
func (t *Telegram) SendCustom(opts TelegramOptions) ([]byte, error)
func (*Telegram) SendCustomDocument ¶ added in v0.2.0
func (t *Telegram) SendCustomDocument(opts TelegramOptions) ([]byte, error)
func (*Telegram) SendCustomPhoto ¶ added in v0.2.0
func (t *Telegram) SendCustomPhoto(opts TelegramOptions) ([]byte, error)
func (*Telegram) SendDocument ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.