Documentation
¶
Index ¶
- type InitSchemas
- type JiraChangelog20220615
- type JiraChangelogItem20220527
- type JiraConnection20220505
- type JiraConnection20220601
- type JiraIssue20220507
- type JiraIssue20220518
- type JiraIssue20220526
- type JiraIssue20220615
- type JiraProject20220525
- type JiraStatus
- type UpdateSchemas20220505
- type UpdateSchemas20220507
- type UpdateSchemas20220518
- type UpdateSchemas20220525
- type UpdateSchemas20220526
- type UpdateSchemas20220527
- type UpdateSchemas20220601
- func (*UpdateSchemas20220601) Name() string
- func (u *UpdateSchemas20220601) SetConfigGetter(getter core.ConfigGetter)
- func (u *UpdateSchemas20220601) SetLogger(logger core.Logger)
- func (u *UpdateSchemas20220601) Up(ctx context.Context, db *gorm.DB) error
- func (*UpdateSchemas20220601) Version() uint64
- type UpdateSchemas20220614
- type UpdateSchemas20220615
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitSchemas ¶
type InitSchemas struct{}
func (*InitSchemas) Name ¶
func (*InitSchemas) Name() string
func (*InitSchemas) Version ¶
func (*InitSchemas) Version() uint64
type JiraChangelog20220615 ¶
func (JiraChangelog20220615) TableName ¶
func (JiraChangelog20220615) TableName() string
type JiraChangelogItem20220527 ¶
type JiraChangelogItem20220527 struct {
archived.NoPKModel
// collected fields
SourceId uint64 `gorm:"primaryKey"`
ChangelogId uint64 `gorm:"primaryKey"`
Field string `gorm:"primaryKey"`
FieldType string
FieldId string
FromValue string
FromString string
ToValue string
ToString string
}
func (JiraChangelogItem20220527) TableName ¶
func (JiraChangelogItem20220527) TableName() string
type JiraConnection20220505 ¶
type JiraConnection20220505 struct {
common.Model
Name string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
Endpoint string `json:"endpoint" validate:"required"`
BasicAuthEncoded string `json:"basicAuthEncoded" validate:"required"`
EpicKeyField string `gorm:"type:varchar(50);" json:"epicKeyField"`
StoryPointField string `gorm:"type:varchar(50);" json:"storyPointField"`
RemotelinkCommitShaPattern string `` /* 179-byte string literal not displayed */
Proxy string `json:"proxy"`
RateLimit int `comment:"api request rate limt per hour" json:"rateLimit"`
}
func (JiraConnection20220505) TableName ¶
func (JiraConnection20220505) TableName() string
type JiraConnection20220601 ¶
type JiraConnection20220601 struct {
helper.RestConnection
helper.BasicAuth
EpicKeyField string `gorm:"type:varchar(50);" json:"epicKeyField"`
StoryPointField string `gorm:"type:varchar(50);" json:"storyPointField"`
RemotelinkCommitShaPattern string `` /* 179-byte string literal not displayed */
}
func (JiraConnection20220601) TableName ¶
func (JiraConnection20220601) TableName() string
type JiraIssue20220507 ¶
type JiraIssue20220507 struct {
// collected fields
SourceId uint64 `gorm:"primaryKey"`
IssueId uint64 `gorm:"primarykey"`
ProjectId uint64
Self string `gorm:"type:varchar(255)"`
IconURL string `gorm:"type:varchar(255);column:icon_url"`
Key string `gorm:"type:varchar(255)"`
Summary string
Type string `gorm:"type:varchar(255)"`
EpicKey string `gorm:"type:varchar(255)"`
StatusName string `gorm:"type:varchar(255)"`
StatusKey string `gorm:"type:varchar(255)"`
StoryPoint float64
OriginalEstimateMinutes int64 // user input?
AggregateEstimateMinutes int64 // sum up of all subtasks?
RemainingEstimateMinutes int64 // could it be negative value?
CreatorAccountId string `gorm:"type:varchar(255)"`
CreatorAccountType string `gorm:"type:varchar(255)"`
CreatorDisplayName string `gorm:"type:varchar(255)"`
AssigneeAccountId string `gorm:"type:varchar(255);comment:latest assignee"`
AssigneeAccountType string `gorm:"type:varchar(255)"`
AssigneeDisplayName string `gorm:"type:varchar(255)"`
PriorityId uint64
PriorityName string `gorm:"type:varchar(255)"`
ParentId uint64
ParentKey string `gorm:"type:varchar(255)"`
SprintId uint64 // latest sprint, issue might cross multiple sprints, would be addressed by #514
SprintName string `gorm:"type:varchar(255)"`
ResolutionDate *time.Time
Created time.Time
Updated time.Time `gorm:"index"`
SpentMinutes int64
LeadTimeMinutes uint
StdStoryPoint uint
StdType string `gorm:"type:varchar(255)"`
StdStatus string `gorm:"type:varchar(255)"`
AllFields datatypes.JSONMap
// internal status tracking
ChangelogUpdated *time.Time
RemotelinkUpdated *time.Time
archived.NoPKModel
}
func (JiraIssue20220507) TableName ¶
func (JiraIssue20220507) TableName() string
type JiraIssue20220518 ¶
type JiraIssue20220518 struct {
// collected fields
SourceId uint64 `gorm:"primaryKey"`
IssueId uint64 `gorm:"primarykey"`
ProjectId uint64
Self string `gorm:"type:varchar(255)"`
IconURL string `gorm:"type:varchar(255);column:icon_url"`
Key string `gorm:"type:varchar(255)"`
Summary string
Type string `gorm:"type:varchar(255)"`
EpicKey string `gorm:"type:varchar(255)"`
StatusName string `gorm:"type:varchar(255)"`
StatusKey string `gorm:"type:varchar(255)"`
StoryPoint float64
OriginalEstimateMinutes int64 // user input?
AggregateEstimateMinutes int64 // sum up of all subtasks?
RemainingEstimateMinutes int64 // could it be negative value?
CreatorAccountId string `gorm:"type:varchar(255)"`
CreatorAccountType string `gorm:"type:varchar(255)"`
CreatorDisplayName string `gorm:"type:varchar(255)"`
AssigneeAccountId string `gorm:"type:varchar(255);comment:latest assignee"`
AssigneeAccountType string `gorm:"type:varchar(255)"`
AssigneeDisplayName string `gorm:"type:varchar(255)"`
PriorityId uint64
PriorityName string `gorm:"type:varchar(255)"`
ParentId uint64
ParentKey string `gorm:"type:varchar(255)"`
SprintId uint64 // latest sprint, issue might cross multiple sprints, would be addressed by #514
SprintName string `gorm:"type:varchar(255)"`
ResolutionDate *time.Time
Created time.Time
Updated time.Time `gorm:"index"`
SpentMinutes int64
LeadTimeMinutes uint
StdStoryPoint uint
StdType string `gorm:"type:varchar(255)"`
StdStatus string `gorm:"type:varchar(255)"`
AllFields datatypes.JSONMap
// internal status tracking
ChangelogUpdated *time.Time
RemotelinkUpdated *time.Time
WorklogUpdated *time.Time
archived.NoPKModel
}
func (JiraIssue20220518) TableName ¶
func (JiraIssue20220518) TableName() string
type JiraIssue20220526 ¶
type JiraIssue20220526 struct {
// collected fields
ConnectionId uint64 `gorm:"primaryKey"`
IssueId uint64 `gorm:"primarykey"`
ProjectId uint64
Self string `gorm:"type:varchar(255)"`
IconURL string `gorm:"type:varchar(255);column:icon_url"`
IssueKey string `gorm:"type:varchar(255)"`
Summary string
Type string `gorm:"type:varchar(255)"`
EpicKey string `gorm:"type:varchar(255)"`
StatusName string `gorm:"type:varchar(255)"`
StatusKey string `gorm:"type:varchar(255)"`
StoryPoint float64
OriginalEstimateMinutes int64 // user input?
AggregateEstimateMinutes int64 // sum up of all subtasks?
RemainingEstimateMinutes int64 // could it be negative value?
CreatorAccountId string `gorm:"type:varchar(255)"`
CreatorAccountType string `gorm:"type:varchar(255)"`
CreatorDisplayName string `gorm:"type:varchar(255)"`
AssigneeAccountId string `gorm:"type:varchar(255);comment:latest assignee"`
AssigneeAccountType string `gorm:"type:varchar(255)"`
AssigneeDisplayName string `gorm:"type:varchar(255)"`
PriorityId uint64
PriorityName string `gorm:"type:varchar(255)"`
ParentId uint64
ParentKey string `gorm:"type:varchar(255)"`
SprintId uint64 // latest sprint, issue might cross multiple sprints, would be addressed by #514
SprintName string `gorm:"type:varchar(255)"`
ResolutionDate *time.Time
Created time.Time
Updated time.Time `gorm:"index"`
SpentMinutes int64
LeadTimeMinutes uint
StdStoryPoint uint
StdType string `gorm:"type:varchar(255)"`
StdStatus string `gorm:"type:varchar(255)"`
AllFields datatypes.JSONMap
// internal status tracking
ChangelogUpdated *time.Time
RemotelinkUpdated *time.Time
WorklogUpdated *time.Time
archived.NoPKModel
}
func (JiraIssue20220526) TableName ¶
func (JiraIssue20220526) TableName() string
type JiraIssue20220615 ¶
type JiraIssue20220615 struct{}
func (JiraIssue20220615) TableName ¶
func (JiraIssue20220615) TableName() string
type JiraProject20220525 ¶
type JiraProject20220525 struct {
archived.NoPKModel
// collected fields
ConnectionId uint64 `gorm:"primarykey"`
Id string `gorm:"primaryKey;type:varchar(255)"`
ProjectKey string `gorm:"type:varchar(255)"`
Name string `gorm:"type:varchar(255)"`
}
func (JiraProject20220525) TableName ¶
func (JiraProject20220525) TableName() string
type JiraStatus ¶
type JiraStatus struct {
archived.NoPKModel
ConnectionId uint64 `gorm:"primaryKey"`
ID string `gorm:"primaryKey"`
Name string
Self string
StatusCategory string
}
func (JiraStatus) TableName ¶
func (JiraStatus) TableName() string
type UpdateSchemas20220505 ¶
type UpdateSchemas20220505 struct{}
func (*UpdateSchemas20220505) Name ¶
func (*UpdateSchemas20220505) Name() string
func (*UpdateSchemas20220505) Owner ¶
func (*UpdateSchemas20220505) Owner() string
func (*UpdateSchemas20220505) Version ¶
func (*UpdateSchemas20220505) Version() uint64
type UpdateSchemas20220507 ¶
type UpdateSchemas20220507 struct{}
func (*UpdateSchemas20220507) Name ¶
func (*UpdateSchemas20220507) Name() string
func (*UpdateSchemas20220507) Version ¶
func (*UpdateSchemas20220507) Version() uint64
type UpdateSchemas20220518 ¶
type UpdateSchemas20220518 struct{}
func (*UpdateSchemas20220518) Name ¶
func (*UpdateSchemas20220518) Name() string
func (*UpdateSchemas20220518) Version ¶
func (*UpdateSchemas20220518) Version() uint64
type UpdateSchemas20220525 ¶
type UpdateSchemas20220525 struct{}
func (*UpdateSchemas20220525) Name ¶
func (*UpdateSchemas20220525) Name() string
func (*UpdateSchemas20220525) Version ¶
func (*UpdateSchemas20220525) Version() uint64
type UpdateSchemas20220526 ¶
type UpdateSchemas20220526 struct{}
func (*UpdateSchemas20220526) Name ¶
func (*UpdateSchemas20220526) Name() string
func (*UpdateSchemas20220526) Version ¶
func (*UpdateSchemas20220526) Version() uint64
type UpdateSchemas20220527 ¶
type UpdateSchemas20220527 struct{}
func (*UpdateSchemas20220527) Name ¶
func (*UpdateSchemas20220527) Name() string
func (*UpdateSchemas20220527) Version ¶
func (*UpdateSchemas20220527) Version() uint64
type UpdateSchemas20220601 ¶
type UpdateSchemas20220601 struct {
// contains filtered or unexported fields
}
func (*UpdateSchemas20220601) Name ¶
func (*UpdateSchemas20220601) Name() string
func (*UpdateSchemas20220601) SetConfigGetter ¶
func (u *UpdateSchemas20220601) SetConfigGetter(getter core.ConfigGetter)
func (*UpdateSchemas20220601) SetLogger ¶
func (u *UpdateSchemas20220601) SetLogger(logger core.Logger)
func (*UpdateSchemas20220601) Version ¶
func (*UpdateSchemas20220601) Version() uint64
type UpdateSchemas20220614 ¶
type UpdateSchemas20220614 struct{}
func (*UpdateSchemas20220614) Name ¶
func (*UpdateSchemas20220614) Name() string
func (*UpdateSchemas20220614) Version ¶
func (*UpdateSchemas20220614) Version() uint64
type UpdateSchemas20220615 ¶
type UpdateSchemas20220615 struct {
}
func (*UpdateSchemas20220615) Name ¶
func (*UpdateSchemas20220615) Name() string
func (*UpdateSchemas20220615) Version ¶
func (*UpdateSchemas20220615) Version() uint64
Source Files
¶
Click to show internal directories.
Click to hide internal directories.