Documentation
¶
Index ¶
- Constants
- Variables
- func CollectCard(taskCtx plugin.SubTaskContext) errors.Error
- func CollectCheckItem(taskCtx plugin.SubTaskContext) errors.Error
- func CollectLabel(taskCtx plugin.SubTaskContext) errors.Error
- func CollectList(taskCtx plugin.SubTaskContext) errors.Error
- func CollectMember(taskCtx plugin.SubTaskContext) errors.Error
- func CreateApiClient(taskCtx plugin.TaskContext, connection *models.TrelloConnection) (*api.ApiAsyncClient, errors.Error)
- func ExtractCard(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractCheckItem(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractLabel(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractList(taskCtx plugin.SubTaskContext) errors.Error
- func ExtractMember(taskCtx plugin.SubTaskContext) errors.Error
- type TrelloApiCard
- type TrelloApiCheckItems
- type TrelloApiChecklist
- type TrelloApiLabel
- type TrelloApiList
- type TrelloApiMember
- type TrelloApiParams
- type TrelloOptions
- type TrelloTaskData
Constants ¶
View Source
const RAW_CARD_TABLE = "trello_cards"
View Source
const RAW_CHECK_ITEM_TABLE = "trello_check_items"
View Source
const RAW_LABEL_TABLE = "trello_labels"
View Source
const RAW_LIST_TABLE = "trello_lists"
View Source
const RAW_MEMBER_TABLE = "trello_members"
Variables ¶
View Source
var CollectCardMeta = plugin.SubTaskMeta{ Name: "CollectCard", EntryPoint: CollectCard, EnabledByDefault: true, Description: "Collect card data from Trello api", DomainTypes: []string{}, }
View Source
var CollectCheckItemMeta = plugin.SubTaskMeta{ Name: "CollectCheckItem", EntryPoint: CollectCheckItem, EnabledByDefault: true, Description: "Collect check item data from Trello api", DomainTypes: []string{}, }
View Source
var CollectLabelMeta = plugin.SubTaskMeta{ Name: "CollectLabel", EntryPoint: CollectLabel, EnabledByDefault: true, Description: "Collect label data from Trello api", DomainTypes: []string{}, }
View Source
var CollectListMeta = plugin.SubTaskMeta{ Name: "CollectList", EntryPoint: CollectList, EnabledByDefault: true, Description: "Collect list data from Trello api", DomainTypes: []string{}, }
View Source
var CollectMemberMeta = plugin.SubTaskMeta{ Name: "CollectMember", EntryPoint: CollectMember, EnabledByDefault: true, Description: "Collect member data from Trello api", DomainTypes: []string{}, }
View Source
var ExtractCardMeta = plugin.SubTaskMeta{ Name: "ExtractCard", EntryPoint: ExtractCard, EnabledByDefault: true, Description: "Extract raw data into tool layer table trello_cards", }
View Source
var ExtractCheckItemMeta = plugin.SubTaskMeta{ Name: "ExtractCheckItem", EntryPoint: ExtractCheckItem, EnabledByDefault: true, Description: "Extract raw data into tool layer table trello_check_items", }
View Source
var ExtractLabelMeta = plugin.SubTaskMeta{ Name: "ExtractLabel", EntryPoint: ExtractLabel, EnabledByDefault: true, Description: "Extract raw data into tool layer table trello_labels", }
View Source
var ExtractListMeta = plugin.SubTaskMeta{ Name: "ExtractList", EntryPoint: ExtractList, EnabledByDefault: true, Description: "Extract raw data into tool layer table trello_lists", }
View Source
var ExtractMemberMeta = plugin.SubTaskMeta{ Name: "ExtractMember", EntryPoint: ExtractMember, EnabledByDefault: true, Description: "Extract raw data into tool layer table trello_members", }
Functions ¶
func CollectCard ¶
func CollectCard(taskCtx plugin.SubTaskContext) errors.Error
func CollectCheckItem ¶
func CollectCheckItem(taskCtx plugin.SubTaskContext) errors.Error
func CollectLabel ¶
func CollectLabel(taskCtx plugin.SubTaskContext) errors.Error
func CollectList ¶
func CollectList(taskCtx plugin.SubTaskContext) errors.Error
func CollectMember ¶
func CollectMember(taskCtx plugin.SubTaskContext) errors.Error
func CreateApiClient ¶
func CreateApiClient(taskCtx plugin.TaskContext, connection *models.TrelloConnection) (*api.ApiAsyncClient, errors.Error)
CreateApiClient creates a new API Client for Trello
func ExtractCard ¶
func ExtractCard(taskCtx plugin.SubTaskContext) errors.Error
func ExtractCheckItem ¶
func ExtractCheckItem(taskCtx plugin.SubTaskContext) errors.Error
func ExtractLabel ¶
func ExtractLabel(taskCtx plugin.SubTaskContext) errors.Error
func ExtractList ¶
func ExtractList(taskCtx plugin.SubTaskContext) errors.Error
func ExtractMember ¶
func ExtractMember(taskCtx plugin.SubTaskContext) errors.Error
Types ¶
type TrelloApiCard ¶
type TrelloApiCard struct {
ID string `json:"id"`
Badges interface{} `json:"badges"`
CheckItemStates interface{} `json:"checkItemStates"`
Closed bool `json:"closed"`
DueComplete bool `json:"dueComplete"`
DateLastActivity time.Time `json:"dateLastActivity"`
Desc string `json:"desc"`
DescData interface{} `json:"descData"`
Due interface{} `json:"due"`
DueReminder interface{} `json:"dueReminder"`
Email interface{} `json:"email"`
IDBoard string `json:"idBoard"`
IDChecklists []string `json:"idChecklists"`
IDList string `json:"idList"`
IDMembers []string `json:"idMembers"`
IDMembersVoted []string `json:"idMembersVoted"`
IDShort int `json:"idShort"`
IDAttachmentCover string `json:"idAttachmentCover"`
Labels []interface{} `json:"labels"`
IDLabels []string `json:"idLabels"`
ManualCoverAttachment bool `json:"manualCoverAttachment"`
Name string `json:"name"`
Pos float64 `json:"pos"`
ShortLink string `json:"shortLink"`
ShortUrl string `json:"shortUrl"`
Start interface{} `json:"start"`
Subscribed bool `json:"subscribed"`
Url string `json:"url"`
Cover interface{} `json:"cover"`
IsTemplate bool `json:"isTemplate"`
CardRole interface{} `json:"cardRole"`
}
type TrelloApiCheckItems ¶
type TrelloApiCheckItems struct {
ID string `json:"id"`
Name string `json:"name"`
NameData interface{} `json:"nameData"`
Pos float64 `json:"pos"`
State string `json:"state"`
Due interface{} `json:"due"`
DueReminder interface{} `json:"dueReminder"`
IDMember string `json:"idMember"`
IDChecklist string `json:"idChecklist"`
}
type TrelloApiChecklist ¶
type TrelloApiLabel ¶
type TrelloApiList ¶
type TrelloApiMember ¶
type TrelloApiParams ¶
type TrelloApiParams models.TrelloApiParams
type TrelloOptions ¶
type TrelloTaskData ¶
type TrelloTaskData struct {
Options *TrelloOptions
ApiClient *api.ApiAsyncClient
}
Click to show internal directories.
Click to hide internal directories.