Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IndexName = "tidb-bug"
View Source
var JiraJQL = "project in (TIDB, ONCALL, TOOL, TIKV)"
View Source
var JiraQuerySize = 500
Functions ¶
func ScheduleSyncTask ¶
func ScheduleSyncTask(jiraClient *jira.Client, esClient *elasticsearch.Client)
Types ¶
type ErrResponse ¶
type ErrResponse struct {
ErrMsg string `json:"errMsg"`
}
type SearchItem ¶
type SearchResponse ¶
type SearchResponse struct { Total int `json:"total"` Items []*SearchItem `json:"items"` }
func SearchIssue ¶
func SearchIssue(query string, from, size int, esClient *elasticsearch.Client) (*SearchResponse, error)
Click to show internal directories.
Click to hide internal directories.