tasks

package
v0.12.0-k8s-deployment... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

View Source
const RAW_BUG_CHANGELOG_TABLE = "tapd_api_bug_changelogs"
View Source
const RAW_BUG_COMMIT_TABLE = "tapd_api_bug_commits"
View Source
const RAW_BUG_CUSTOM_FIELDS_TABLE = "tapd_api_bug_custom_fields"
View Source
const RAW_BUG_STATUS_TABLE = "tapd_api_bug_status"
View Source
const RAW_BUG_TABLE = "tapd_api_bugs"
View Source
const RAW_COMPANY_TABLE = "tapd_api_companies"
View Source
const RAW_ITERATION_TABLE = "tapd_api_iterations"
View Source
const RAW_STORY_BUG_TABLE = "tapd_api_story_bugs"
View Source
const RAW_STORY_CATEGORY_TABLE = "tapd_api_story_categories"
View Source
const RAW_STORY_CHANGELOG_TABLE = "tapd_api_story_changelogs"
View Source
const RAW_STORY_COMMIT_TABLE = "tapd_api_story_commits"
View Source
const RAW_STORY_CUSTOM_FIELDS_TABLE = "tapd_api_story_custom_fields"
View Source
const RAW_STORY_STATUS_TABLE = "tapd_api_story_status"
View Source
const RAW_STORY_TABLE = "tapd_api_stories"
View Source
const RAW_SUB_WORKSPACE_TABLE = "tapd_api_sub_workspaces"
View Source
const RAW_TASK_CHANGELOG_TABLE = "tapd_api_task_changelogs"
View Source
const RAW_TASK_COMMIT_TABLE = "tapd_api_task_commits"
View Source
const RAW_TASK_CUSTOM_FIELDS_TABLE = "tapd_api_task_custom_fields"
View Source
const RAW_TASK_TABLE = "tapd_api_tasks"
View Source
const RAW_USER_TABLE = "tapd_api_users"
View Source
const RAW_WORKLOG_TABLE = "tapd_api_worklogs"

Variables

View Source
var CollectAccountsMeta = core.SubTaskMeta{
	Name:             "collectAccounts",
	EntryPoint:       CollectAccounts,
	EnabledByDefault: true,
	Description:      "collect tapd accounts",
}
View Source
var CollectBugChangelogMeta = core.SubTaskMeta{
	Name:             "collectBugChangelogs",
	EntryPoint:       CollectBugChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd bugChangelogs",
}
View Source
var CollectBugCommitMeta = core.SubTaskMeta{
	Name:             "collectBugCommits",
	EntryPoint:       CollectBugCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
}
View Source
var CollectBugCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectBugCustomFields",
	EntryPoint:       CollectBugCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd BugCustomFields",
}
View Source
var CollectBugMeta = core.SubTaskMeta{
	Name:             "collectBugs",
	EntryPoint:       CollectBugs,
	EnabledByDefault: true,
	Description:      "collect Tapd bugs",
}
View Source
var CollectBugStatusMeta = core.SubTaskMeta{
	Name:             "collectBugStatus",
	EntryPoint:       CollectBugStatus,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
}
View Source
var CollectCompanyMeta = core.SubTaskMeta{
	Name:        "collectCompanies",
	EntryPoint:  CollectCompanies,
	Required:    false,
	Description: "collect Tapd companies",
}
View Source
var CollectIterationMeta = core.SubTaskMeta{
	Name:             "collectIterations",
	EntryPoint:       CollectIterations,
	EnabledByDefault: true,
	Description:      "collect Tapd iterations",
}
View Source
var CollectStoryBugMeta = core.SubTaskMeta{
	Name:             "collectStoryBugs",
	EntryPoint:       CollectStoryBugs,
	EnabledByDefault: true,
	Description:      "collect Tapd storyBugs",
}
View Source
var CollectStoryCategoriesMeta = core.SubTaskMeta{
	Name:             "collectStoryCategories",
	EntryPoint:       CollectStoryCategories,
	EnabledByDefault: true,
	Description:      "collect Tapd StoryCategories",
}
View Source
var CollectStoryChangelogMeta = core.SubTaskMeta{
	Name:             "collectStoryChangelogs",
	EntryPoint:       CollectStoryChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd storyChangelogs",
}
View Source
var CollectStoryCommitMeta = core.SubTaskMeta{
	Name:             "collectStoryCommits",
	EntryPoint:       CollectStoryCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
}
View Source
var CollectStoryCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectStoryCustomFields",
	EntryPoint:       CollectStoryCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd StoryCustomFields",
}
View Source
var CollectStoryMeta = core.SubTaskMeta{
	Name:             "collectStorys",
	EntryPoint:       CollectStorys,
	EnabledByDefault: true,
	Description:      "collect Tapd stories",
}
View Source
var CollectStoryStatusMeta = core.SubTaskMeta{
	Name:             "collectStoryStatus",
	EntryPoint:       CollectStoryStatus,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
}
View Source
var CollectSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "collectSubWorkspaces",
	EntryPoint:       CollectSubWorkspaces,
	EnabledByDefault: true,
	Description:      "collect Tapd workspaces",
}
View Source
var CollectTaskChangelogMeta = core.SubTaskMeta{
	Name:             "collectTaskChangelogs",
	EntryPoint:       CollectTaskChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd taskChangelogs",
}
View Source
var CollectTaskCommitMeta = core.SubTaskMeta{
	Name:             "collectTaskCommits",
	EntryPoint:       CollectTaskCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
}
View Source
var CollectTaskCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectTaskCustomFields",
	EntryPoint:       CollectTaskCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd TaskCustomFields",
}
View Source
var CollectTaskMeta = core.SubTaskMeta{
	Name:             "collectTasks",
	EntryPoint:       CollectTasks,
	EnabledByDefault: true,
	Description:      "collect Tapd tasks",
}
View Source
var CollectWorklogMeta = core.SubTaskMeta{
	Name:             "collectWorklogs",
	EntryPoint:       CollectWorklogs,
	EnabledByDefault: true,
	Description:      "collect Tapd worklogs",
}
View Source
var ConvertAccountsMeta = core.SubTaskMeta{
	Name:             "convertAccounts",
	EntryPoint:       ConvertAccounts,
	EnabledByDefault: true,
	Description:      "convert tapd account",
}
View Source
var ConvertBugChangelogMeta = core.SubTaskMeta{
	Name:             "convertBugChangelog",
	EntryPoint:       ConvertBugChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd bug changelog",
}
View Source
var ConvertBugCommitMeta = core.SubTaskMeta{
	Name:             "convertBugCommit",
	EntryPoint:       ConvertBugCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd BugCommit",
}
View Source
var ConvertBugLabelsMeta = core.SubTaskMeta{
	Name:             "convertBugLabels",
	EntryPoint:       ConvertBugLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
}
View Source
var ConvertBugMeta = core.SubTaskMeta{
	Name:             "convertBug",
	EntryPoint:       ConvertBug,
	EnabledByDefault: true,
	Description:      "convert Tapd Bug",
}
View Source
var ConvertIterationMeta = core.SubTaskMeta{
	Name:             "convertIteration",
	EntryPoint:       ConvertIteration,
	EnabledByDefault: true,
	Description:      "convert Tapd iteration",
}
View Source
var ConvertStoryChangelogMeta = core.SubTaskMeta{
	Name:             "convertStoryChangelog",
	EntryPoint:       ConvertStoryChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd story changelog",
}
View Source
var ConvertStoryCommitMeta = core.SubTaskMeta{
	Name:             "convertStoryCommit",
	EntryPoint:       ConvertStoryCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd StoryCommit",
}
View Source
var ConvertStoryLabelsMeta = core.SubTaskMeta{
	Name:             "convertStoryLabels",
	EntryPoint:       ConvertStoryLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
}
View Source
var ConvertStoryMeta = core.SubTaskMeta{
	Name:             "convertStory",
	EntryPoint:       ConvertStory,
	EnabledByDefault: true,
	Description:      "convert Tapd story",
}
View Source
var ConvertSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "convertSubWorkspace",
	EntryPoint:       ConvertSubWorkspace,
	EnabledByDefault: true,
	Description:      "convert Tapd workspace",
}
View Source
var ConvertTaskChangelogMeta = core.SubTaskMeta{
	Name:             "convertTaskChangelog",
	EntryPoint:       ConvertTaskChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd task changelog",
}
View Source
var ConvertTaskCommitMeta = core.SubTaskMeta{
	Name:             "convertTaskCommit",
	EntryPoint:       ConvertTaskCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd TaskCommit",
}
View Source
var ConvertTaskLabelsMeta = core.SubTaskMeta{
	Name:             "convertTaskLabels",
	EntryPoint:       ConvertTaskLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
}
View Source
var ConvertTaskMeta = core.SubTaskMeta{
	Name:             "convertTask",
	EntryPoint:       ConvertTask,
	EnabledByDefault: true,
	Description:      "convert Tapd Task",
}
View Source
var ConvertWorklogMeta = core.SubTaskMeta{
	Name:             "convertWorklog",
	EntryPoint:       ConvertWorklog,
	EnabledByDefault: true,
	Description:      "convert Tapd Worklog",
}
View Source
var ExtractAccountsMeta = core.SubTaskMeta{
	Name:             "extractAccounts",
	EntryPoint:       ExtractAccounts,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_accounts",
}
View Source
var ExtractBugChangelogMeta = core.SubTaskMeta{
	Name:             "extractBugChangelog",
	EntryPoint:       ExtractBugChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bug_changelogs",
}
View Source
var ExtractBugCommitMeta = core.SubTaskMeta{
	Name:             "extractBugCommits",
	EntryPoint:       ExtractBugCommits,
	EnabledByDefault: true,
	Description:      "Extract raw BugCommits data into tool layer table _tool_tapd_issue_commits",
}
View Source
var ExtractBugCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractBugCustomFields",
	EntryPoint:       ExtractBugCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_bug_custom_fields",
}
View Source
var ExtractBugMeta = core.SubTaskMeta{
	Name:             "extractBugs",
	EntryPoint:       ExtractBugs,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractBugStatusMeta = core.SubTaskMeta{
	Name:             "extractBugStatus",
	EntryPoint:       ExtractBugStatus,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bugStatus",
}
View Source
var ExtractCompanyMeta = core.SubTaskMeta{
	Name:        "extractCompanies",
	EntryPoint:  ExtractCompanies,
	Required:    false,
	Description: "Extract raw company data into tool layer table _tool_tapd_workspaces",
}
View Source
var ExtractIterationMeta = core.SubTaskMeta{
	Name:             "extractIterations",
	EntryPoint:       ExtractIterations,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractStoryBugsMeta = core.SubTaskMeta{
	Name:             "extractStoryBugs",
	EntryPoint:       ExtractStoryBugs,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_bugs",
}
View Source
var ExtractStoryCategoriesMeta = core.SubTaskMeta{
	Name:             "extractStoryCategories",
	EntryPoint:       ExtractStoryCategories,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_category",
}
View Source
var ExtractStoryChangelogMeta = core.SubTaskMeta{
	Name:             "extractStoryChangelog",
	EntryPoint:       ExtractStoryChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractStoryCommitMeta = core.SubTaskMeta{
	Name:             "extractStoryCommits",
	EntryPoint:       ExtractStoryCommits,
	EnabledByDefault: true,
	Description:      "Extract raw StoryCommits data into tool layer table _tool_tapd_issue_commits",
}
View Source
var ExtractStoryCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractStoryCustomFields",
	EntryPoint:       ExtractStoryCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_custom_fields",
}
View Source
var ExtractStoryMeta = core.SubTaskMeta{
	Name:             "extractStories",
	EntryPoint:       ExtractStories,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractStoryStatusMeta = core.SubTaskMeta{
	Name:             "extractStoryStatus",
	EntryPoint:       ExtractStoryStatus,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bugStatus",
}
View Source
var ExtractSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "extractSubWorkspaces",
	EntryPoint:       ExtractSubWorkspaces,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_workspaces",
}
View Source
var ExtractTaskChangelogMeta = core.SubTaskMeta{
	Name:             "extractTaskChangelog",
	EntryPoint:       ExtractTaskChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractTaskCommitMeta = core.SubTaskMeta{
	Name:             "extractTaskCommits",
	EntryPoint:       ExtractTaskCommits,
	EnabledByDefault: true,
	Description:      "Extract raw TaskCommits data into tool layer table _tool_tapd_issue_commits",
}
View Source
var ExtractTaskCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractTaskCustomFields",
	EntryPoint:       ExtractTaskCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_task_custom_fields",
}
View Source
var ExtractTaskMeta = core.SubTaskMeta{
	Name:             "extractTasks",
	EntryPoint:       ExtractTasks,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var ExtractWorklogMeta = core.SubTaskMeta{
	Name:             "extractWorklogs",
	EntryPoint:       ExtractWorklogs,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
}
View Source
var WorkspaceIdGen *didgen.DomainIdGenerator

Functions

func CollectAccounts added in v0.12.0

func CollectAccounts(taskCtx core.SubTaskContext) error

func CollectBugChangelogs

func CollectBugChangelogs(taskCtx core.SubTaskContext) error

func CollectBugCommits

func CollectBugCommits(taskCtx core.SubTaskContext) error

func CollectBugCustomFields

func CollectBugCustomFields(taskCtx core.SubTaskContext) error

func CollectBugStatus

func CollectBugStatus(taskCtx core.SubTaskContext) error

func CollectBugs

func CollectBugs(taskCtx core.SubTaskContext) error

func CollectCompanies

func CollectCompanies(taskCtx core.SubTaskContext) error

func CollectIterations

func CollectIterations(taskCtx core.SubTaskContext) error

func CollectStoryBugs added in v0.12.0

func CollectStoryBugs(taskCtx core.SubTaskContext) error

func CollectStoryCategories

func CollectStoryCategories(taskCtx core.SubTaskContext) error

func CollectStoryChangelogs

func CollectStoryChangelogs(taskCtx core.SubTaskContext) error

func CollectStoryCommits

func CollectStoryCommits(taskCtx core.SubTaskContext) error

func CollectStoryCustomFields

func CollectStoryCustomFields(taskCtx core.SubTaskContext) error

func CollectStoryStatus

func CollectStoryStatus(taskCtx core.SubTaskContext) error

func CollectStorys

func CollectStorys(taskCtx core.SubTaskContext) error

func CollectSubWorkspaces added in v0.12.0

func CollectSubWorkspaces(taskCtx core.SubTaskContext) error

func CollectTaskChangelogs

func CollectTaskChangelogs(taskCtx core.SubTaskContext) error

func CollectTaskCommits

func CollectTaskCommits(taskCtx core.SubTaskContext) error

func CollectTaskCustomFields

func CollectTaskCustomFields(taskCtx core.SubTaskContext) error

func CollectTasks

func CollectTasks(taskCtx core.SubTaskContext) error

func CollectWorklogs

func CollectWorklogs(taskCtx core.SubTaskContext) error

func ConvertAccounts added in v0.12.0

func ConvertAccounts(taskCtx core.SubTaskContext) error

func ConvertBug

func ConvertBug(taskCtx core.SubTaskContext) error

func ConvertBugChangelog

func ConvertBugChangelog(taskCtx core.SubTaskContext) error

func ConvertBugCommit

func ConvertBugCommit(taskCtx core.SubTaskContext) error

func ConvertBugLabels

func ConvertBugLabels(taskCtx core.SubTaskContext) error

func ConvertIteration

func ConvertIteration(taskCtx core.SubTaskContext) error

func ConvertStory

func ConvertStory(taskCtx core.SubTaskContext) error

func ConvertStoryChangelog

func ConvertStoryChangelog(taskCtx core.SubTaskContext) error

func ConvertStoryCommit

func ConvertStoryCommit(taskCtx core.SubTaskContext) error

func ConvertStoryLabels

func ConvertStoryLabels(taskCtx core.SubTaskContext) error

func ConvertSubWorkspace added in v0.12.0

func ConvertSubWorkspace(taskCtx core.SubTaskContext) error

func ConvertTask

func ConvertTask(taskCtx core.SubTaskContext) error

func ConvertTaskChangelog

func ConvertTaskChangelog(taskCtx core.SubTaskContext) error

func ConvertTaskCommit

func ConvertTaskCommit(taskCtx core.SubTaskContext) error

func ConvertTaskLabels

func ConvertTaskLabels(taskCtx core.SubTaskContext) error

func ConvertWorklog

func ConvertWorklog(taskCtx core.SubTaskContext) error

func ExtractAccounts added in v0.12.0

func ExtractAccounts(taskCtx core.SubTaskContext) error

func ExtractBugChangelog

func ExtractBugChangelog(taskCtx core.SubTaskContext) error

func ExtractBugCommits

func ExtractBugCommits(taskCtx core.SubTaskContext) error

func ExtractBugCustomFields

func ExtractBugCustomFields(taskCtx core.SubTaskContext) error

func ExtractBugStatus

func ExtractBugStatus(taskCtx core.SubTaskContext) error

func ExtractBugs

func ExtractBugs(taskCtx core.SubTaskContext) error

func ExtractCompanies

func ExtractCompanies(taskCtx core.SubTaskContext) error

func ExtractIterations

func ExtractIterations(taskCtx core.SubTaskContext) error

func ExtractStories

func ExtractStories(taskCtx core.SubTaskContext) error

func ExtractStoryBugs added in v0.12.0

func ExtractStoryBugs(taskCtx core.SubTaskContext) error

func ExtractStoryCategories

func ExtractStoryCategories(taskCtx core.SubTaskContext) error

func ExtractStoryChangelog

func ExtractStoryChangelog(taskCtx core.SubTaskContext) error

func ExtractStoryCommits

func ExtractStoryCommits(taskCtx core.SubTaskContext) error

func ExtractStoryCustomFields

func ExtractStoryCustomFields(taskCtx core.SubTaskContext) error

func ExtractStoryStatus

func ExtractStoryStatus(taskCtx core.SubTaskContext) error

func ExtractSubWorkspaces added in v0.12.0

func ExtractSubWorkspaces(taskCtx core.SubTaskContext) error

func ExtractTaskChangelog

func ExtractTaskChangelog(taskCtx core.SubTaskContext) error

func ExtractTaskCommits

func ExtractTaskCommits(taskCtx core.SubTaskContext) error

func ExtractTaskCustomFields

func ExtractTaskCustomFields(taskCtx core.SubTaskContext) error

func ExtractTasks

func ExtractTasks(taskCtx core.SubTaskContext) error

func ExtractWorklogs

func ExtractWorklogs(taskCtx core.SubTaskContext) error

func GetRawMessageArrayFromResponse added in v0.12.0

func GetRawMessageArrayFromResponse(res *http.Response) ([]json.RawMessage, error)

func GetRawMessageDirectFromResponse

func GetRawMessageDirectFromResponse(res *http.Response) ([]json.RawMessage, error)

func GetTotalPagesFromResponse

func GetTotalPagesFromResponse(r *http.Response, args *helper.ApiCollectorArgs) (int, error)

res will not be used

func NewTapdApiClient

func NewTapdApiClient(taskCtx core.TaskContext, connection *models.TapdConnection) (*helper.ApiAsyncClient, error)

Types

type BugChangelogItemResult

type BugChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	WorkspaceId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	BugId             uint64     `json:"bug_id"`
	Author            string     `json:"author" gorm:"type:varchar(255)"`
	Field             string     `json:"field"`
	OldValue          string     `json:"old_value"`
	NewValue          string     `json:"new_value"`
	Memo              string     `json:"memo"`
	Created           *time.Time `json:"created"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

type Data

type Data struct {
	Count int `json:"count"`
}

type Page

type Page struct {
	Data Data `json:"data"`
}

type SimpleBug

type SimpleBug struct {
	Id uint64
}

type SimpleStory

type SimpleStory struct {
	Id uint64
}

type SimpleTask

type SimpleTask struct {
	Id uint64
}

type StoryChangelogItemResult

type StoryChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	WorkspaceId       uint64     `json:"workspace_id"`
	WorkitemTypeId    uint64     `json:"workitem_type_id"`
	Creator           string     `json:"creator"`
	Created           *time.Time `json:"created"`
	ChangeSummary     string     `json:"change_summary"`
	Comment           string     `json:"comment"`
	EntityType        string     `json:"entity_type"`
	ChangeType        string     `json:"change_type"`
	StoryId           uint64     `json:"story_id"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Field             string     `json:"field" gorm:"primaryKey;type:varchar(255)"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

type TapdApiParams

type TapdApiParams struct {
	ConnectionId uint64
	CompanyId    uint64
	WorkspaceId  uint64
}

type TapdOptions

type TapdOptions struct {
	ConnectionId uint64   `mapstruct:"connectionId"`
	WorkspaceId  uint64   `mapstruct:"workspaceId"`
	CompanyId    uint64   `mapstruct:"companyId"`
	Tasks        []string `mapstruct:"tasks,omitempty"`
	Since        string
}

type TapdTaskData

type TapdTaskData struct {
	Options    *TapdOptions
	ApiClient  *helper.ApiAsyncClient
	Since      *time.Time
	Connection *models.TapdConnection
}

func CreateRawDataSubTaskArgs added in v0.12.0

func CreateRawDataSubTaskArgs(taskCtx core.SubTaskContext, rawTable string, useCompanyId bool) (*helper.RawDataSubTaskArgs, *TapdTaskData)

type TaskChangelogItemResult

type TaskChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	WorkspaceId       uint64     `json:"workspace_id"`
	WorkitemTypeId    uint64     `json:"workitem_type_id"`
	Creator           string     `json:"creator"`
	Created           *time.Time `json:"created"`
	ChangeSummary     string     `json:"change_summary"`
	Comment           string     `json:"comment"`
	EntityType        string     `json:"entity_type"`
	ChangeType        string     `json:"change_type"`
	ChangeTypeText    string     `json:"change_type_text"`
	TaskId            uint64     `json:"task_id"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Field             string     `json:"field" gorm:"primaryKey;type:varchar(255)"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL