queue

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func NewQueue

func NewQueue(db *sql.DB, pipeSyncService domain.PipeSyncService, pipesStorage domain.PipesStorage) *Queue

func (*Queue) LoadScheduledPipes

func (pq *Queue) LoadScheduledPipes() ([]*domain.Pipe, error)

func (*Queue) MarkPipeSynchronized

func (pq *Queue) MarkPipeSynchronized(pipe *domain.Pipe) error

func (*Queue) ScheduleAutomaticPipesSynchronization

func (pq *Queue) ScheduleAutomaticPipesSynchronization() error

func (*Queue) SchedulePipeSynchronization

func (pq *Queue) SchedulePipeSynchronization(workspaceID int, serviceID domain.IntegrationID, pipeID domain.PipeID, usersSelector domain.UserParams) error

Jump to

Keyboard shortcuts

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