Versions in this module Expand all Collapse all v0 v0.0.3 Jun 13, 2017 v0.0.2 Jun 13, 2017 Changes in this version + const GithubAssigneesLogin + const GithubAssigneesLoginPattern + const GithubAssigneesProfileURL + const GithubAssigneesProfileURLPattern + const GithubCreatorLogin + const GithubCreatorProfileURL + const GithubDescription + const GithubID + const GithubState + const GithubTitle + const JiraAssigneeLogin + const JiraAssigneeProfileURL + const JiraBody + const JiraCreatorLogin + const JiraCreatorProfileURL + const JiraID + const JiraState + const JiraTitle + const ProviderGithub + const ProviderJira + var RemoteWorkItemImplRegistry = map[string]func(TrackerItem) (AttributeAccessor, error) + var RemoteWorkItemKeyMaps = map[string]RemoteWorkItemMap + func Flatten(source map[string]interface{}) map[string]interface + type AttributeAccessor interface + Get func(field AttributeExpression) interface{} + func NewGitHubRemoteWorkItem(item TrackerItem) (AttributeAccessor, error) + func NewJiraRemoteWorkItem(item TrackerItem) (AttributeAccessor, error) + type AttributeConverter interface + Convert func(interface{}, AttributeAccessor) (interface{}, error) + type AttributeExpression string + type AttributeMapper struct + type BadParameterError struct + func (err BadParameterError) Error() string + type ConversionError struct + func (err ConversionError) Error() string + type GitHubRemoteWorkItem struct + func (gh GitHubRemoteWorkItem) Get(field AttributeExpression) interface{} + type GithubStateConverter struct + func (ghc GithubStateConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type GithubTracker struct + Query string + URL string + func (g *GithubTracker) Fetch(githubAuthToken string) chan TrackerItemContent + type GormTrackerQueryRepository struct + func NewTrackerQueryRepository(db *gorm.DB) *GormTrackerQueryRepository + func (r *GormTrackerQueryRepository) Create(ctx context.Context, query string, schedule string, tracker string, ...) (*app.TrackerQuery, error) + func (r *GormTrackerQueryRepository) Delete(ctx context.Context, ID string) error + func (r *GormTrackerQueryRepository) List(ctx context.Context) ([]*app.TrackerQuery, error) + func (r *GormTrackerQueryRepository) Load(ctx context.Context, ID string) (*app.TrackerQuery, error) + func (r *GormTrackerQueryRepository) Save(ctx context.Context, tq app.TrackerQuery) (*app.TrackerQuery, error) + type GormTrackerRepository struct + func NewTrackerRepository(db *gorm.DB) *GormTrackerRepository + func (r *GormTrackerRepository) Create(ctx context.Context, url string, typeID string) (*app.Tracker, error) + func (r *GormTrackerRepository) Delete(ctx context.Context, ID string) error + func (r *GormTrackerRepository) List(ctx context.Context, criteria criteria.Expression, start *int, limit *int) ([]*app.Tracker, error) + func (r *GormTrackerRepository) Load(ctx context.Context, ID string) (*app.Tracker, error) + func (r *GormTrackerRepository) Save(ctx context.Context, t app.Tracker) (*app.Tracker, error) + type InternalError struct + func (err InternalError) Error() string + type JiraRemoteWorkItem struct + func (jira JiraRemoteWorkItem) Get(field AttributeExpression) interface{} + type JiraStateConverter struct + func (jhc JiraStateConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type JiraTracker struct + Query string + URL string + func (j *JiraTracker) Fetch(authToken string) chan TrackerItemContent + type ListConverter struct + func (converter ListConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type ListStringConverter struct + func (sc ListStringConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type MarkupConverter struct + func (converter MarkupConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type NotFoundError struct + ID string + func (err NotFoundError) Error() string + type PatternToListConverter struct + func (converter PatternToListConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type RemoteWorkItem struct + Fields map[string]interface{} + ID string + Type uuid.UUID + func Map(remoteItem AttributeAccessor, mapping RemoteWorkItemMap) (RemoteWorkItem, error) + type RemoteWorkItemMap map[AttributeMapper]string + type Scheduler struct + func NewScheduler(db *gorm.DB) *Scheduler + func (s *Scheduler) ScheduleAllQueries(ctx context.Context, accessTokens map[string]string) + func (s *Scheduler) Stop() + type StateConverter interface + type StringConverter struct + func (converter StringConverter) Convert(value interface{}, item AttributeAccessor) (interface{}, error) + type Tracker struct + ID uint64 + Type string + URL string + type TrackerItem struct + ID uint64 + Item string + RemoteItemID string + TrackerID uint64 + type TrackerItemContent struct + Content []byte + ID string + type TrackerProvider interface + Fetch func(authToken string) chan TrackerItemContent + type TrackerQuery struct + ID uint64 + Query string + Schedule string + SpaceID uuid.UUID + TrackerID uint64 + type VersionConflictError struct + func (err VersionConflictError) Error() string