Documentation ¶
Index ¶
Constants ¶
View Source
const ( BigqueryDatasetId = "jira_data" BigqueryTableId = "tickets" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomField ¶
type CustomField struct { FieldName string `bigquery:"field_name" json:"field_name,omitempty"` ID string `bigquery:"id" json:"id,omitempty"` Name string `bigquery:"name" json:"name,omitempty"` Key string `bigquery:"key" json:"key,omitempty"` DisplayName string `bigquery:"display_name" json:"display_name,omitempty"` Description string `bigquery:"description" json:"description,omitempty"` Value string `bigquery:"value" json:"value,omitempty"` Votes float64 `bigquery:"votes" json:"votes,omitempty"` StructuredValue string `bigquery:"structured_value" json:"structured_value,omitempty"` }
type JiraWatcherController ¶
type JiraWatcherController struct {
// contains filtered or unexported fields
}
func NewJiraWatcherController ¶
func NewJiraWatcherController(jiraClient *jira.Client, jiraInformer cache.SharedIndexInformer, jiraLister *jira.IssueLister, showPrivateMessages bool, bigQueryClient *bigquery.Client, dryRun bool) (*JiraWatcherController, error)
func (*JiraWatcherController) Enqueue ¶
func (c *JiraWatcherController) Enqueue(obj interface{})
func (*JiraWatcherController) RunWorkers ¶
func (c *JiraWatcherController) RunWorkers(ctx context.Context, workers int)
type Options ¶
type Resolution ¶
type Ticket ¶
type Ticket struct { RecordCreated time.Time `bigquery:"record_created"` Issue Issue `bigquery:"issue"` Description string `bigquery:"description"` Creator string `bigquery:"creator"` Assignee string `bigquery:"assignee"` Status Status `bigquery:"status"` Priority Priority `bigquery:"priority"` Labels []string `bigquery:"labels"` TargetVersions []Version `bigquery:"target_versions"` Resolution Resolution `bigquery:"resolution"` Comments []Comment `bigquery:"comments"` Summary string `bigquery:"summary"` Components []Component `bigquery:"components"` FixVersions []Version `bigquery:"fix_versions"` AffectsVersions []Version `bigquery:"affects_versions"` LastChangedTime time.Time `bigquery:"last_changed_time"` CustomFields []CustomField `bigquery:"custom_fields"` }
Click to show internal directories.
Click to hide internal directories.