jobservice

package
v0.3.69-rc-25a947b Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func RectifyConfig added in v0.3.63

func RectifyConfig(config *configuration.JobServiceConfiguration) error

Mutates config where possible to correct mis-configurations. Returns a non-nil error if mis-configuration is unrecoverable.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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