manager

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowQueue = "rla-tasks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientConf    temporal.Config
	WorkerOptions map[string]worker.Options

	// ComponentManagerRegistry is the registry containing initialized component managers.
	ComponentManagerRegistry *componentmanager.Registry
}

func (*Config) Build

func (c *Config) Build(ctx context.Context) (executor.Executor, error)

func (*Config) Validate

func (c *Config) Validate() error

type Manager

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

func (*Manager) BringUp

func (*Manager) CheckStatus

func (m *Manager) CheckStatus(
	ctx context.Context,
	encodedExecutionID string,
) (taskcommon.TaskStatus, error)

func (*Manager) FirmwareControl

func (*Manager) InjectExpectation

func (*Manager) PowerControl

func (*Manager) Start

func (m *Manager) Start(ctx context.Context) error

func (*Manager) Stop

func (m *Manager) Stop(ctx context.Context) error

func (*Manager) TerminateTask

func (m *Manager) TerminateTask(
	ctx context.Context,
	encodedExecutionID string,
	reason string,
) error

TerminateTask terminates the Temporal workflow backing the given execution ID.

func (*Manager) Type

func (m *Manager) Type() taskcommon.ExecutorType

Jump to

Keyboard shortcuts

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