Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags has the configuration flags.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker is an executor worker handling many runtimes.
func New ¶
func New( dataDir string, commonWorker *workerCommon.Worker, registration *registration.Worker, ) (*Worker, error)
New creates a new executor worker.
func (*Worker) Cleanup ¶
func (w *Worker) Cleanup()
Cleanup performs the service specific post-termination cleanup.
func (*Worker) GetRuntime ¶
GetRuntime returns a registered runtime.
In case the runtime with the specified id was not registered it returns nil.
func (*Worker) Initialized ¶
func (w *Worker) Initialized() <-chan struct{}
Initialized returns a channel that will be closed when the executor worker is initialized and ready to service requests.
Click to show internal directories.
Click to hide internal directories.