ExecutionPlane.Contracts.ProcessExecutionIntent.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Process-family execution intent.

execution_surface, env_projection, and shutdown_policy are frozen as Wave 1 carrier fields only. Detailed minimal-lane semantics remain provisional until Wave 3.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.ProcessExecutionIntent.V1{
  argv: [String.t()],
  clear_env: boolean(),
  close_stdin: boolean(),
  command: String.t(),
  contract_version: String.t(),
  cwd: String.t() | nil,
  env_projection: map(),
  envelope: ExecutionPlane.Contracts.ExecutionIntentEnvelope.V1.t(),
  execution_surface: map(),
  shutdown_policy: map(),
  stderr_mode: String.t(),
  stdin: term() | nil,
  stdio_mode: String.t(),
  user: String.t() | nil
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(intent)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()