hostworker

package
v0.0.0-...-2c66b35 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker interface {
	// This should be always be called to properly close and get errors
	Wait() error
	Stop()
}

func StartWorker

func StartWorker(options WorkerOptions) (Worker, error)

type WorkerOptions

type WorkerOptions struct {
	Client          client.Client
	Hostname        string
	SystemTaskQueue string
	Tags            []string
}

Jump to

Keyboard shortcuts

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