Crate ya_runtime_sdk

Crate ya_runtime_sdk 

Source

Re-exports§

pub use cli::Command;
pub use error::Error;
pub use error::ErrorExt;
pub use ya_runtime_api as runtime_api;

Modules§

cli
env
error
serialize
server

Structs§

Context
Runtime execution context
CreateNetwork
ErrorResponse
EventEmitter
Runtime event emitter
KillProcess
ProcessStatus
RunCommandContext
Command execution handler
RunProcess
RuntimeControl
Runtime control helper
RuntimeCounter
RuntimeState
RuntimeStatus

Enums§

EventKind
Runtime event kind
RuntimeMode
Defines the mode of execution for commands within the runtime.
RuntimeStatusKind

Traits§

RunCommandExt
Wraps command lifecycle in the following manner:
Runtime
Command handling interface for runtimes
RuntimeDef
Runtime definition trait. Auto-generated with #[derive(RuntimeDef)]

Functions§

build
Creates a new runtime execution future within a new tokio::task::LocalSet, using a custom environment configuration provider and a runtime factory
run
Starts the runtime within a new tokio::task::LocalSet
run_with
Starts the runtime within a new tokio::task::LocalSet, using a custom environment configuration provider

Type Aliases§

EmptyResponse
EndpointResponse
OutputResponse
ProcessId
ProcessIdResponse