runtime

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeActivities

type RuntimeActivities interface {
	Register(registry worker.Registry) // Register the activities with the worker
	StartInstance(ctx context.Context, req *RuntimeActivityRequest) (*RuntimeActivityResponse, error)
	StopInstance(ctx context.Context, req *RuntimeActivityRequest) (*RuntimeActivityResponse, error)
}

The runtime interface that any runtime should implement.

type RuntimeActivityRequest

type RuntimeActivityRequest struct {
	MetaInstanceID    string
	RuntimeInstanceID string
}

type RuntimeActivityResponse

type RuntimeActivityResponse struct {
	MetaInstance *mrdspb.MetaInstance
}

Jump to

Keyboard shortcuts

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