grpc

package
v0.0.0-...-8438342 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobService

type JobService struct {
	proto.JobsServiceServer
	// contains filtered or unexported fields
}

func NewJobService

func NewJobService(log logger.Logger, jobDB models.JobDB, jobsProducer models.JobsProducer, jobsScheduler scheduler.Scheduler) *JobService

func (*JobService) CreateJob

func (*JobService) DeleteJob

func (*JobService) GetJob

func (js *JobService) GetJob(ctx context.Context, req *proto.GetJobRequest) (*proto.Job, error)

func (*JobService) ListJobs

func (*JobService) LoadScheduledJobs

func (js *JobService) LoadScheduledJobs()

exported method (Started with uppercase)

func (*JobService) UpdateJob

Jump to

Keyboard shortcuts

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