update

package
v0.1.168 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 11 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(inputJob *model.Job, description string) (job *model.Job, 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