Documentation
¶
Index ¶
- func NewPipeIntegration(id domain.IntegrationID, workspaceID int) domain.PipeIntegration
- type AsanaParams
- type AsanaPipeIntegration
- func (s *AsanaPipeIntegration) Accounts() ([]*domain.Account, error)
- func (s *AsanaPipeIntegration) Clients() ([]*domain.Client, error)
- func (s *AsanaPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
- func (s *AsanaPipeIntegration) GetWorkspaceID() int
- func (s *AsanaPipeIntegration) ID() domain.IntegrationID
- func (s *AsanaPipeIntegration) KeyFor(objectType domain.PipeID) string
- func (s *AsanaPipeIntegration) Projects() ([]*domain.Project, error)
- func (s *AsanaPipeIntegration) SetAuthData(b []byte) error
- func (s *AsanaPipeIntegration) SetParams(b []byte) error
- func (s *AsanaPipeIntegration) SetSince(*time.Time)
- func (s *AsanaPipeIntegration) Tasks() ([]*domain.Task, error)
- func (s *AsanaPipeIntegration) TodoLists() ([]*domain.Task, error)
- func (s *AsanaPipeIntegration) Users() ([]*domain.User, error)
- type BaseCampPipeIntegration
- func (s *BaseCampPipeIntegration) Accounts() ([]*domain.Account, error)
- func (s *BaseCampPipeIntegration) Clients() ([]*domain.Client, error)
- func (s *BaseCampPipeIntegration) ExportTimeEntry(t *domain.TimeEntry) (int, error)
- func (s *BaseCampPipeIntegration) GetWorkspaceID() int
- func (s *BaseCampPipeIntegration) ID() domain.IntegrationID
- func (s *BaseCampPipeIntegration) KeyFor(objectType domain.PipeID) string
- func (s *BaseCampPipeIntegration) Projects() ([]*domain.Project, error)
- func (s *BaseCampPipeIntegration) SetAuthData(b []byte) error
- func (s *BaseCampPipeIntegration) SetParams(b []byte) error
- func (s *BaseCampPipeIntegration) SetSince(since *time.Time)
- func (s *BaseCampPipeIntegration) Tasks() ([]*domain.Task, error)
- func (s *BaseCampPipeIntegration) TodoLists() ([]*domain.Task, error)
- func (s *BaseCampPipeIntegration) Users() ([]*domain.User, error)
- type BasecampParams
- type FreshBooksPipeIntegration
- func (s *FreshBooksPipeIntegration) Accounts() ([]*domain.Account, error)
- func (s *FreshBooksPipeIntegration) Clients() ([]*domain.Client, error)
- func (s *FreshBooksPipeIntegration) ExportTimeEntry(t *domain.TimeEntry) (int, error)
- func (s *FreshBooksPipeIntegration) GetWorkspaceID() int
- func (s *FreshBooksPipeIntegration) ID() domain.IntegrationID
- func (s *FreshBooksPipeIntegration) KeyFor(objectType domain.PipeID) string
- func (s *FreshBooksPipeIntegration) Projects() ([]*domain.Project, error)
- func (s *FreshBooksPipeIntegration) SetAuthData(b []byte) error
- func (s *FreshBooksPipeIntegration) SetParams(b []byte) error
- func (s *FreshBooksPipeIntegration) SetSince(*time.Time)
- func (s *FreshBooksPipeIntegration) Tasks() ([]*domain.Task, error)
- func (s *FreshBooksPipeIntegration) TodoLists() ([]*domain.Task, error)
- func (s *FreshBooksPipeIntegration) Users() ([]*domain.User, error)
- type GitHubPipeIntegration
- func (s *GitHubPipeIntegration) Accounts() ([]*domain.Account, error)
- func (s *GitHubPipeIntegration) Clients() ([]*domain.Client, error)
- func (s *GitHubPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
- func (s *GitHubPipeIntegration) GetWorkspaceID() int
- func (s *GitHubPipeIntegration) ID() domain.IntegrationID
- func (s *GitHubPipeIntegration) KeyFor(objectType domain.PipeID) string
- func (s *GitHubPipeIntegration) Projects() ([]*domain.Project, error)
- func (s *GitHubPipeIntegration) SetAuthData(b []byte) error
- func (s *GitHubPipeIntegration) SetParams([]byte) error
- func (s *GitHubPipeIntegration) SetSince(*time.Time)
- func (s *GitHubPipeIntegration) Tasks() ([]*domain.Task, error)
- func (s *GitHubPipeIntegration) TodoLists() ([]*domain.Task, error)
- func (s *GitHubPipeIntegration) Users() ([]*domain.User, error)
- type Params
- type TogglPlanPipeIntegration
- func (s *TogglPlanPipeIntegration) Accounts() ([]*domain.Account, error)
- func (s *TogglPlanPipeIntegration) Clients() ([]*domain.Client, error)
- func (s *TogglPlanPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
- func (s *TogglPlanPipeIntegration) GetWorkspaceID() int
- func (s *TogglPlanPipeIntegration) ID() domain.IntegrationID
- func (s *TogglPlanPipeIntegration) KeyFor(objectType domain.PipeID) string
- func (s *TogglPlanPipeIntegration) Projects() ([]*domain.Project, error)
- func (s *TogglPlanPipeIntegration) SetAuthData(b []byte) error
- func (s *TogglPlanPipeIntegration) SetParams(b []byte) error
- func (s *TogglPlanPipeIntegration) SetSince(*time.Time)
- func (s *TogglPlanPipeIntegration) Tasks() ([]*domain.Task, error)
- func (s *TogglPlanPipeIntegration) TodoLists() ([]*domain.Task, error)
- func (s *TogglPlanPipeIntegration) Users() ([]*domain.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPipeIntegration ¶
func NewPipeIntegration(id domain.IntegrationID, workspaceID int) domain.PipeIntegration
Types ¶
type AsanaParams ¶
type AsanaParams struct {
AccountID int64 `json:"account_id"`
}
type AsanaPipeIntegration ¶
type AsanaPipeIntegration struct { WorkspaceID int *AsanaParams // contains filtered or unexported fields }
func (*AsanaPipeIntegration) Accounts ¶
func (s *AsanaPipeIntegration) Accounts() ([]*domain.Account, error)
Map Asana accounts to local accounts
func (*AsanaPipeIntegration) Clients ¶
func (s *AsanaPipeIntegration) Clients() ([]*domain.Client, error)
func (*AsanaPipeIntegration) ExportTimeEntry ¶
func (s *AsanaPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
func (*AsanaPipeIntegration) GetWorkspaceID ¶
func (s *AsanaPipeIntegration) GetWorkspaceID() int
func (*AsanaPipeIntegration) ID ¶
func (s *AsanaPipeIntegration) ID() domain.IntegrationID
func (*AsanaPipeIntegration) KeyFor ¶
func (s *AsanaPipeIntegration) KeyFor(objectType domain.PipeID) string
func (*AsanaPipeIntegration) Projects ¶
func (s *AsanaPipeIntegration) Projects() ([]*domain.Project, error)
Map Asana projects to projects
func (*AsanaPipeIntegration) SetAuthData ¶
func (s *AsanaPipeIntegration) SetAuthData(b []byte) error
SetAuthData sets Asana API Authentication Token. It should be `oauth.Token` structure from "code.google.com/p/goauth2/oauth"
func (*AsanaPipeIntegration) SetParams ¶
func (s *AsanaPipeIntegration) SetParams(b []byte) error
func (*AsanaPipeIntegration) SetSince ¶
func (s *AsanaPipeIntegration) SetSince(*time.Time)
func (*AsanaPipeIntegration) Tasks ¶
func (s *AsanaPipeIntegration) Tasks() ([]*domain.Task, error)
Map Asana tasks to tasks
type BaseCampPipeIntegration ¶
type BaseCampPipeIntegration struct { WorkspaceID int *BasecampParams // contains filtered or unexported fields }
func (*BaseCampPipeIntegration) Accounts ¶
func (s *BaseCampPipeIntegration) Accounts() ([]*domain.Account, error)
Map basecamp accounts to local accounts
func (*BaseCampPipeIntegration) Clients ¶
func (s *BaseCampPipeIntegration) Clients() ([]*domain.Client, error)
There are no clients in basecamp
func (*BaseCampPipeIntegration) ExportTimeEntry ¶
func (s *BaseCampPipeIntegration) ExportTimeEntry(t *domain.TimeEntry) (int, error)
func (*BaseCampPipeIntegration) GetWorkspaceID ¶
func (s *BaseCampPipeIntegration) GetWorkspaceID() int
func (*BaseCampPipeIntegration) ID ¶
func (s *BaseCampPipeIntegration) ID() domain.IntegrationID
func (*BaseCampPipeIntegration) KeyFor ¶
func (s *BaseCampPipeIntegration) KeyFor(objectType domain.PipeID) string
func (*BaseCampPipeIntegration) Projects ¶
func (s *BaseCampPipeIntegration) Projects() ([]*domain.Project, error)
Map basecamp projects to projects
func (*BaseCampPipeIntegration) SetAuthData ¶
func (s *BaseCampPipeIntegration) SetAuthData(b []byte) error
func (*BaseCampPipeIntegration) SetParams ¶
func (s *BaseCampPipeIntegration) SetParams(b []byte) error
func (*BaseCampPipeIntegration) SetSince ¶
func (s *BaseCampPipeIntegration) SetSince(since *time.Time)
func (*BaseCampPipeIntegration) Tasks ¶
func (s *BaseCampPipeIntegration) Tasks() ([]*domain.Task, error)
Map basecamp todos to tasks
type BasecampParams ¶
type BasecampParams struct {
AccountID int `json:"account_id"`
}
type FreshBooksPipeIntegration ¶
type FreshBooksPipeIntegration struct { WorkspaceID int // contains filtered or unexported fields }
func (*FreshBooksPipeIntegration) Accounts ¶
func (s *FreshBooksPipeIntegration) Accounts() ([]*domain.Account, error)
func (*FreshBooksPipeIntegration) Clients ¶
func (s *FreshBooksPipeIntegration) Clients() ([]*domain.Client, error)
func (*FreshBooksPipeIntegration) ExportTimeEntry ¶
func (s *FreshBooksPipeIntegration) ExportTimeEntry(t *domain.TimeEntry) (int, error)
func (*FreshBooksPipeIntegration) GetWorkspaceID ¶
func (s *FreshBooksPipeIntegration) GetWorkspaceID() int
func (*FreshBooksPipeIntegration) ID ¶
func (s *FreshBooksPipeIntegration) ID() domain.IntegrationID
func (*FreshBooksPipeIntegration) KeyFor ¶
func (s *FreshBooksPipeIntegration) KeyFor(objectType domain.PipeID) string
func (*FreshBooksPipeIntegration) Projects ¶
func (s *FreshBooksPipeIntegration) Projects() ([]*domain.Project, error)
func (*FreshBooksPipeIntegration) SetAuthData ¶
func (s *FreshBooksPipeIntegration) SetAuthData(b []byte) error
func (*FreshBooksPipeIntegration) SetParams ¶
func (s *FreshBooksPipeIntegration) SetParams(b []byte) error
func (*FreshBooksPipeIntegration) SetSince ¶
func (s *FreshBooksPipeIntegration) SetSince(*time.Time)
func (*FreshBooksPipeIntegration) Tasks ¶
func (s *FreshBooksPipeIntegration) Tasks() ([]*domain.Task, error)
type GitHubPipeIntegration ¶
type GitHubPipeIntegration struct { WorkspaceID int // contains filtered or unexported fields }
func (*GitHubPipeIntegration) Accounts ¶
func (s *GitHubPipeIntegration) Accounts() ([]*domain.Account, error)
func (*GitHubPipeIntegration) Clients ¶
func (s *GitHubPipeIntegration) Clients() ([]*domain.Client, error)
func (*GitHubPipeIntegration) ExportTimeEntry ¶
func (s *GitHubPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
func (*GitHubPipeIntegration) GetWorkspaceID ¶
func (s *GitHubPipeIntegration) GetWorkspaceID() int
func (*GitHubPipeIntegration) ID ¶
func (s *GitHubPipeIntegration) ID() domain.IntegrationID
func (*GitHubPipeIntegration) KeyFor ¶
func (s *GitHubPipeIntegration) KeyFor(objectType domain.PipeID) string
func (*GitHubPipeIntegration) Projects ¶
func (s *GitHubPipeIntegration) Projects() ([]*domain.Project, error)
Map Github repos to projects
func (*GitHubPipeIntegration) SetAuthData ¶
func (s *GitHubPipeIntegration) SetAuthData(b []byte) error
func (*GitHubPipeIntegration) SetParams ¶
func (s *GitHubPipeIntegration) SetParams([]byte) error
func (*GitHubPipeIntegration) SetSince ¶
func (s *GitHubPipeIntegration) SetSince(*time.Time)
func (*GitHubPipeIntegration) Tasks ¶
func (s *GitHubPipeIntegration) Tasks() ([]*domain.Task, error)
type TogglPlanPipeIntegration ¶
type TogglPlanPipeIntegration struct { WorkspaceID int *Params // contains filtered or unexported fields }
func (*TogglPlanPipeIntegration) Accounts ¶
func (s *TogglPlanPipeIntegration) Accounts() ([]*domain.Account, error)
Map Teamweek accounts to local accounts
func (*TogglPlanPipeIntegration) Clients ¶
func (s *TogglPlanPipeIntegration) Clients() ([]*domain.Client, error)
func (*TogglPlanPipeIntegration) ExportTimeEntry ¶
func (s *TogglPlanPipeIntegration) ExportTimeEntry(*domain.TimeEntry) (int, error)
func (*TogglPlanPipeIntegration) GetWorkspaceID ¶
func (s *TogglPlanPipeIntegration) GetWorkspaceID() int
func (*TogglPlanPipeIntegration) ID ¶
func (s *TogglPlanPipeIntegration) ID() domain.IntegrationID
func (*TogglPlanPipeIntegration) KeyFor ¶
func (s *TogglPlanPipeIntegration) KeyFor(objectType domain.PipeID) string
func (*TogglPlanPipeIntegration) Projects ¶
func (s *TogglPlanPipeIntegration) Projects() ([]*domain.Project, error)
Map Teamweek projects to projects
func (*TogglPlanPipeIntegration) SetAuthData ¶
func (s *TogglPlanPipeIntegration) SetAuthData(b []byte) error
func (*TogglPlanPipeIntegration) SetParams ¶
func (s *TogglPlanPipeIntegration) SetParams(b []byte) error
func (*TogglPlanPipeIntegration) SetSince ¶
func (s *TogglPlanPipeIntegration) SetSince(*time.Time)
func (*TogglPlanPipeIntegration) Tasks ¶
func (s *TogglPlanPipeIntegration) Tasks() ([]*domain.Task, error)
Map Teamweek tasks to tasks
Click to show internal directories.
Click to hide internal directories.