local

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package local package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobDispatcher

type JobDispatcher struct {
	// contains filtered or unexported fields
}

JobDispatcher is used for debugging jobs and should not be used in production

func New

func New(pluginData map[string]string, discoveryProtocolHost string, logger logger.Logger) (*JobDispatcher, error)

New creates a JobDispatcher

func (*JobDispatcher) DispatchJob

func (l *JobDispatcher) DispatchJob(_ context.Context, jobID string, token string) (string, error)

DispatchJob will launch a local job executor that can be used to facilitate debugging

Jump to

Keyboard shortcuts

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