registration

package
v44.23.4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistrationManager

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

func New

func New(runnercfg *cfg.RunnerConfig, state *run.State) *RegistrationManager

Make a new RegistrationManager object

func (*RegistrationManager) RegisterWorker

func (reg *RegistrationManager) RegisterWorker(workerIdentityProofMap map[string]interface{}) error

Register this worker with the worker-manager, and update the state with the results

func (*RegistrationManager) SetProtocol

func (reg *RegistrationManager) SetProtocol(proto *workerproto.Protocol)

func (*RegistrationManager) UseCachedRun

func (reg *RegistrationManager) UseCachedRun() error

func (*RegistrationManager) WorkerFinished

func (reg *RegistrationManager) WorkerFinished() error

func (*RegistrationManager) WorkerStarted

func (reg *RegistrationManager) WorkerStarted() error

Jump to

Keyboard shortcuts

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