jobservice

package
v0.3.71-rc-725845e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfiguration = &configuration.JobServiceConfiguration{
	GrpcPool: grpcconfig.GrpcPoolConfig{
		InitialConnections: 5,
		Capacity:           5,
	},
	SubscriberPoolSize: 30,
}

Functions

func ProcessSubs added in v0.3.70

func ProcessSubs(subRequests <-chan SubRequest, sqlJobRepo repository.SQLJobService)

ProcessSubs continually reads from the channel of incoming jobset subscription requests and subscribes as they are received

func RectifyConfig added in v0.3.63

func RectifyConfig(config *configuration.JobServiceConfiguration)

Mutates config where possible to correct mis-configurations.

Types

type App

type App struct {
	// Configuration for jobService
	Config *configuration.JobServiceConfiguration
}

func New

func New() *App

func (*App) StartUp

func (a *App) StartUp(ctx context.Context, config *configuration.JobServiceConfiguration) error

type SubRequest added in v0.3.70

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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