workers

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 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 Dependencies

type Dependencies struct {
	Scheduler   service.GaiaScheduler
	Certificate security.CAAPI
}

Dependencies define dependencies which this service needs.

type WorkerProvider

type WorkerProvider interface {
	RegisterWorker(c echo.Context) error
	DeregisterWorker(c echo.Context) error
	GetWorkerRegisterSecret(c echo.Context) error
	GetWorkerStatusOverview(c echo.Context) error
	ResetWorkerRegisterSecret(c echo.Context) error
	GetWorker(c echo.Context) error
}

WorkerProvider defines functionality which this provider provides.

func NewWorkerProvider

func NewWorkerProvider(deps Dependencies) WorkerProvider

NewWorkerProvider creates a provider which provides worker related functionality.

Jump to

Keyboard shortcuts

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