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 (*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
}
Click to show internal directories.
Click to hide internal directories.