control

package
v0.0.0-...-9de8873 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteStopTargetAppCommand

func ExecuteStopTargetAppCommand(ctx context.Context, commandsFile string) error

func ExecuteWaitEvenCommand

func ExecuteWaitEvenCommand(
	ctx context.Context,
	eventsFile string,
	evt event.Type,
) error

func HandleControlCommandQueue

func HandleControlCommandQueue(ctx context.Context, commandsFile string, commandCh chan command.Message)

Types

type Command

type Command string
const (
	StopTargetAppCommand Command = "stop-target-app"
	WaitForEventCommand  Command = "wait-for-event"
)

Jump to

Keyboard shortcuts

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