modified

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModifiedData

func NewModifiedData() db.ModifiedData

NewModifiedData returns a db.ModifiedData instance which tracks modifications in memory.

func NewMuxModifiedComments

func NewMuxModifiedComments(readWrite db.ModifiedComments, writeOnly ...db.ModifiedComments) db.ModifiedComments

New MuxModifiedComments returns an implementation of db.ModifiedComments which writes to multiple ModifiedJobs instances but only reads from one.

func NewMuxModifiedData

func NewMuxModifiedData(readWrite db.ModifiedData, writeOnly ...db.ModifiedData) db.ModifiedData

NewMuxModifiedData returns a db.ModifiedData implementation which writes to multiple ModifiedData instances but only reads from one.

func NewMuxModifiedJobs

func NewMuxModifiedJobs(readWrite db.ModifiedJobs, writeOnly ...db.ModifiedJobs) db.ModifiedJobs

New MuxModifiedJobs returns an implementation of db.ModifiedJobs which writes to multiple ModifiedJobs instances but only reads from one.

func NewMuxModifiedTasks

func NewMuxModifiedTasks(readWrite db.ModifiedTasks, writeOnly ...db.ModifiedTasks) db.ModifiedTasks

NewMuxModifiedTasks returns an implementation of db.ModifiedTasks which writes to multiple ModifiedTasks instances but only reads from one.

Types

type ModifiedCommentsImpl

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

func (*ModifiedCommentsImpl) GetModifiedComments

func (m *ModifiedCommentsImpl) GetModifiedComments(id string) ([]*types.TaskComment, []*types.TaskSpecComment, []*types.CommitComment, error)

See docs for ModifiedComments interface.

func (*ModifiedCommentsImpl) StartTrackingModifiedComments

func (m *ModifiedCommentsImpl) StartTrackingModifiedComments() (string, error)

See docs for ModifiedComments interface.

func (*ModifiedCommentsImpl) StopTrackingModifiedComments

func (m *ModifiedCommentsImpl) StopTrackingModifiedComments(id string)

See docs for ModifiedComments interface.

func (*ModifiedCommentsImpl) TrackModifiedCommitComment

func (m *ModifiedCommentsImpl) TrackModifiedCommitComment(c *types.CommitComment)

See docs for ModifiedComments interface.

func (*ModifiedCommentsImpl) TrackModifiedTaskComment

func (m *ModifiedCommentsImpl) TrackModifiedTaskComment(c *types.TaskComment)

See docs for ModifiedComments interface.

func (*ModifiedCommentsImpl) TrackModifiedTaskSpecComment

func (m *ModifiedCommentsImpl) TrackModifiedTaskSpecComment(c *types.TaskSpecComment)

See docs for ModifiedComments interface.

type ModifiedJobsImpl

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

func (*ModifiedJobsImpl) GetModifiedJobs

func (m *ModifiedJobsImpl) GetModifiedJobs(id string) ([]*types.Job, error)

See docs for ModifiedJobs interface.

func (*ModifiedJobsImpl) GetModifiedJobsGOB

func (m *ModifiedJobsImpl) GetModifiedJobsGOB(id string) (map[string][]byte, error)

See docs for ModifiedJobs interface.

func (*ModifiedJobsImpl) StartTrackingModifiedJobs

func (m *ModifiedJobsImpl) StartTrackingModifiedJobs() (string, error)

See docs for ModifiedJobs interface.

func (*ModifiedJobsImpl) StopTrackingModifiedJobs

func (m *ModifiedJobsImpl) StopTrackingModifiedJobs(id string)

See docs for ModifiedJobs interface.

func (*ModifiedJobsImpl) TrackModifiedJob

func (m *ModifiedJobsImpl) TrackModifiedJob(j *types.Job)

See docs for ModifiedJobs interface.

func (*ModifiedJobsImpl) TrackModifiedJobsGOB

func (m *ModifiedJobsImpl) TrackModifiedJobsGOB(_ time.Time, gobs map[string][]byte)

See docs for ModifiedJobs interface.

type ModifiedTasksImpl

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

ModifiedTasksImpl is an implementation of the ModifiedTasks interface.

func (*ModifiedTasksImpl) GetModifiedTasks

func (m *ModifiedTasksImpl) GetModifiedTasks(id string) ([]*types.Task, error)

See docs for ModifiedTasks interface.

func (*ModifiedTasksImpl) GetModifiedTasksGOB

func (m *ModifiedTasksImpl) GetModifiedTasksGOB(id string) (map[string][]byte, error)

See docs for ModifiedTasks interface.

func (*ModifiedTasksImpl) StartTrackingModifiedTasks

func (m *ModifiedTasksImpl) StartTrackingModifiedTasks() (string, error)

See docs for ModifiedTasks interface.

func (*ModifiedTasksImpl) StopTrackingModifiedTasks

func (m *ModifiedTasksImpl) StopTrackingModifiedTasks(id string)

See docs for ModifiedTasks interface.

func (*ModifiedTasksImpl) TrackModifiedTask

func (m *ModifiedTasksImpl) TrackModifiedTask(t *types.Task)

See docs for ModifiedTasks interface.

func (*ModifiedTasksImpl) TrackModifiedTasksGOB

func (m *ModifiedTasksImpl) TrackModifiedTasksGOB(_ time.Time, gobs map[string][]byte)

See docs for ModifiedTasks interface.

type MuxModifiedComments

type MuxModifiedComments struct {
	db.ModifiedComments
	// contains filtered or unexported fields
}

MuxModifiedComments is an implementation of db.ModifiedComments which writes to multiple ModifiedJobs instances but only reads from one.

func (*MuxModifiedComments) TrackModifiedCommitComment

func (m *MuxModifiedComments) TrackModifiedCommitComment(c *types.CommitComment)

See documentation for db.ModifiedComments interface.

func (*MuxModifiedComments) TrackModifiedTaskComment

func (m *MuxModifiedComments) TrackModifiedTaskComment(c *types.TaskComment)

See documentation for db.ModifiedComments interface.

func (*MuxModifiedComments) TrackModifiedTaskSpecComment

func (m *MuxModifiedComments) TrackModifiedTaskSpecComment(c *types.TaskSpecComment)

See documentation for db.ModifiedComments interface.

type MuxModifiedJobs

type MuxModifiedJobs struct {
	db.ModifiedJobs
	// contains filtered or unexported fields
}

MuxModifiedJobs is an implementation of db.ModifiedJobs which writes to multiple ModifiedJobs instances but only reads from one.

func (*MuxModifiedJobs) TrackModifiedJob

func (m *MuxModifiedJobs) TrackModifiedJob(task *types.Job)

See documentation for db.ModifiedJobs interface.

func (*MuxModifiedJobs) TrackModifiedJobsGOB

func (m *MuxModifiedJobs) TrackModifiedJobsGOB(dbModified time.Time, gobs map[string][]byte)

See documentation for db.ModifiedJobs interface.

type MuxModifiedTasks

type MuxModifiedTasks struct {
	db.ModifiedTasks
	// contains filtered or unexported fields
}

MuxModifiedTasks is an implementation of db.ModifiedTasks which writes to multiple ModifiedTasks instances but only reads from one.

func (*MuxModifiedTasks) TrackModifiedTask

func (m *MuxModifiedTasks) TrackModifiedTask(task *types.Task)

See documentation for db.ModifiedTasks interface.

func (*MuxModifiedTasks) TrackModifiedTasksGOB

func (m *MuxModifiedTasks) TrackModifiedTasksGOB(dbModified time.Time, gobs map[string][]byte)

See documentation for db.ModifiedTasks interface.

Jump to

Keyboard shortcuts

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