update

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	*agent.Resolver
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(db store.DB, agentResolver *agent.Resolver) *Updater

func (*Updater) AddEvent

func (r *Updater) AddEvent(tenantID string, job *model.Job, description string) (err error)

func (*Updater) AddJob

func (r *Updater) AddJob(job *model.Job, description string) (err error)

func (*Updater) EventAdded

func (r *Updater) EventAdded(ctx context.Context) (ch <-chan *model.EventEdge, err error)

func (*Updater) UpdateJob

func (r *Updater) UpdateJob(job *model.Job, description string) (err error)

Jump to

Keyboard shortcuts

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