integration

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

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 (*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

func (*AsanaPipeIntegration) TodoLists

func (s *AsanaPipeIntegration) TodoLists() ([]*domain.Task, error)

func (*AsanaPipeIntegration) Users

func (s *AsanaPipeIntegration) Users() ([]*domain.User, error)

Map Asana users to users

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 (*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

func (*BaseCampPipeIntegration) TodoLists

func (s *BaseCampPipeIntegration) TodoLists() ([]*domain.Task, error)

Map basecamp todolists to tasks

func (*BaseCampPipeIntegration) Users

func (s *BaseCampPipeIntegration) Users() ([]*domain.User, error)

Map basecamp people to local users

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 (*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)

func (*FreshBooksPipeIntegration) TodoLists

func (s *FreshBooksPipeIntegration) TodoLists() ([]*domain.Task, error)

func (*FreshBooksPipeIntegration) Users

func (s *FreshBooksPipeIntegration) Users() ([]*domain.User, 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 (*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)

func (*GitHubPipeIntegration) TodoLists

func (s *GitHubPipeIntegration) TodoLists() ([]*domain.Task, error)

func (*GitHubPipeIntegration) Users

func (s *GitHubPipeIntegration) Users() ([]*domain.User, error)

type Params

type Params struct {
	AccountID int `json:"account_id"`
}

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 (*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

func (*TogglPlanPipeIntegration) TodoLists

func (s *TogglPlanPipeIntegration) TodoLists() ([]*domain.Task, error)

func (*TogglPlanPipeIntegration) Users

func (s *TogglPlanPipeIntegration) Users() ([]*domain.User, error)

Map Teamweek people to local users

Jump to

Keyboard shortcuts

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