Documentation ¶
Index ¶
- func NewConnector() (*sdk.ConnectorPlugin, error)
- type Collaborator
- type CreateProject
- type CreateProjectOperation
- type CreateTaskOperation
- type Due
- type Duration
- type GetActiveTaskOperation
- type GetProjectOperation
- type ListProjectCollaboratorsOperation
- type ListProjectsOperation
- type ListTasksOperation
- type Project
- type ProjectSection
- type Task
- type TaskCompletedTrigger
- func (t TaskCompletedTrigger) GetInfo() *sdk.TriggerInfo
- func (t TaskCompletedTrigger) OnDisabled(ctx *sdk.RunContext) error
- func (t TaskCompletedTrigger) OnEnabled(ctx *sdk.RunContext) error
- func (t TaskCompletedTrigger) Run(ctx *sdk.RunContext) (sdk.JSON, error)
- func (t TaskCompletedTrigger) Test(ctx *sdk.RunContext) (sdk.JSON, error)
- type UpdateProject
- type UpdateProjectOperation
- type UpdateTask
- type UpdateTaskOperation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() (*sdk.ConnectorPlugin, error)
Types ¶
type Collaborator ¶
type CreateProject ¶
type CreateProjectOperation ¶
type CreateProjectOperation struct {
// contains filtered or unexported fields
}
func NewCreateProjectOperation ¶
func NewCreateProjectOperation() *CreateProjectOperation
func (*CreateProjectOperation) GetInfo ¶
func (c *CreateProjectOperation) GetInfo() *sdk.OperationInfo
func (*CreateProjectOperation) Run ¶
func (c *CreateProjectOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateProjectOperation) Test ¶
func (c *CreateProjectOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CreateTaskOperation ¶
type CreateTaskOperation struct {
// contains filtered or unexported fields
}
func NewCreateTaskOperation ¶
func NewCreateTaskOperation() *CreateTaskOperation
func (*CreateTaskOperation) GetInfo ¶
func (c *CreateTaskOperation) GetInfo() *sdk.OperationInfo
func (*CreateTaskOperation) Run ¶
func (c *CreateTaskOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateTaskOperation) Test ¶
func (c *CreateTaskOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetActiveTaskOperation ¶
type GetActiveTaskOperation struct {
// contains filtered or unexported fields
}
func NewGetActiveTaskOperation ¶
func NewGetActiveTaskOperation() *GetActiveTaskOperation
func (*GetActiveTaskOperation) GetInfo ¶
func (c *GetActiveTaskOperation) GetInfo() *sdk.OperationInfo
func (*GetActiveTaskOperation) Run ¶
func (c *GetActiveTaskOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetActiveTaskOperation) Test ¶
func (c *GetActiveTaskOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type GetProjectOperation ¶
type GetProjectOperation struct {
// contains filtered or unexported fields
}
func NewGetProjectOperation ¶
func NewGetProjectOperation() *GetProjectOperation
func (*GetProjectOperation) GetInfo ¶
func (c *GetProjectOperation) GetInfo() *sdk.OperationInfo
func (*GetProjectOperation) Run ¶
func (c *GetProjectOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*GetProjectOperation) Test ¶
func (c *GetProjectOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListProjectCollaboratorsOperation ¶
type ListProjectCollaboratorsOperation struct {
// contains filtered or unexported fields
}
func NewListProjectCollaboratorsOperation ¶
func NewListProjectCollaboratorsOperation() *ListProjectCollaboratorsOperation
func (*ListProjectCollaboratorsOperation) GetInfo ¶
func (c *ListProjectCollaboratorsOperation) GetInfo() *sdk.OperationInfo
func (*ListProjectCollaboratorsOperation) Run ¶
func (c *ListProjectCollaboratorsOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListProjectCollaboratorsOperation) Test ¶
func (c *ListProjectCollaboratorsOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListProjectsOperation ¶
type ListProjectsOperation struct {
// contains filtered or unexported fields
}
func NewListProjectsOperation ¶
func NewListProjectsOperation() *ListProjectsOperation
func (*ListProjectsOperation) GetInfo ¶
func (c *ListProjectsOperation) GetInfo() *sdk.OperationInfo
func (*ListProjectsOperation) Run ¶
func (c *ListProjectsOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListProjectsOperation) Test ¶
func (c *ListProjectsOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ListTasksOperation ¶
type ListTasksOperation struct {
// contains filtered or unexported fields
}
func NewListTasksOperation ¶
func NewListTasksOperation() *ListTasksOperation
func (*ListTasksOperation) GetInfo ¶
func (c *ListTasksOperation) GetInfo() *sdk.OperationInfo
func (*ListTasksOperation) Run ¶
func (c *ListTasksOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*ListTasksOperation) Test ¶
func (c *ListTasksOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type Project ¶
type Project struct { ID string `json:"id"` Name string `json:"name"` CommentCount int `json:"comment_count"` Order int `json:"order"` Color string `json:"color"` IsFavorite bool `json:"is_favorite"` IsInboxProject bool `json:"is_inbox_project"` IsTeamInbox bool `json:"is_team_inbox"` ViewStyle string `json:"view_style"` URL string `json:"url"` ParentID *string `json:"parent_id"` }
type ProjectSection ¶
type Task ¶
type Task struct { CreatorID string `json:"creator_id"` CreatedAt string `json:"created_at"` AssigneeID string `json:"assignee_id"` AssignerID string `json:"assigner_id"` CommentCount int `json:"comment_count"` IsCompleted bool `json:"is_completed"` Content string `json:"content"` Description string `json:"description"` Due Due `json:"due"` Duration Duration `json:"duration"` ID string `json:"id"` Labels []string `json:"labels"` Order int `json:"order"` Priority int `json:"priority"` ProjectID string `json:"project_id"` SectionID string `json:"section_id"` ParentID string `json:"parent_id"` URL string `json:"url"` }
type TaskCompletedTrigger ¶
type TaskCompletedTrigger struct {
// contains filtered or unexported fields
}
func NewTaskCompletedTrigger ¶
func NewTaskCompletedTrigger() *TaskCompletedTrigger
NewTaskCompletedTrigger creates a new TaskCompletedTrigger object.
func (TaskCompletedTrigger) GetInfo ¶
func (t TaskCompletedTrigger) GetInfo() *sdk.TriggerInfo
func (TaskCompletedTrigger) OnDisabled ¶
func (t TaskCompletedTrigger) OnDisabled(ctx *sdk.RunContext) error
func (TaskCompletedTrigger) OnEnabled ¶
func (t TaskCompletedTrigger) OnEnabled(ctx *sdk.RunContext) error
func (TaskCompletedTrigger) Run ¶
func (t TaskCompletedTrigger) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (TaskCompletedTrigger) Test ¶
func (t TaskCompletedTrigger) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type UpdateProject ¶
type UpdateProjectOperation ¶
type UpdateProjectOperation struct {
// contains filtered or unexported fields
}
func NewUpdateProjectOperation ¶
func NewUpdateProjectOperation() *UpdateProjectOperation
func (*UpdateProjectOperation) GetInfo ¶
func (c *UpdateProjectOperation) GetInfo() *sdk.OperationInfo
func (*UpdateProjectOperation) Run ¶
func (c *UpdateProjectOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateProjectOperation) Test ¶
func (c *UpdateProjectOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type UpdateTask ¶
type UpdateTaskOperation ¶
type UpdateTaskOperation struct {
// contains filtered or unexported fields
}
func NewUpdateTaskOperation ¶
func NewUpdateTaskOperation() *UpdateTaskOperation
func (*UpdateTaskOperation) GetInfo ¶
func (c *UpdateTaskOperation) GetInfo() *sdk.OperationInfo
func (*UpdateTaskOperation) Run ¶
func (c *UpdateTaskOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateTaskOperation) Test ¶
func (c *UpdateTaskOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
Source Files ¶
- lib.go
- model.go
- operation_create_project.go
- operation_create_task.go
- operation_get_active_task.go
- operation_get_project.go
- operation_list_project.go
- operation_list_project_collaborators.go
- operation_list_tasks.go
- operation_update_project.go
- operation_update_task.go
- shared.go
- trigger_task_completed.go
Click to show internal directories.
Click to hide internal directories.