ExecutionPlane.Placements.Capabilities (execution_plane v0.1.0)

Copy Markdown View Source

Narrow placement-surface capabilities carried independently from command or provider semantics.

Summary

Types

t()

@type t() :: %ExecutionPlane.Placements.Capabilities{
  interrupt_kind: :signal | :stdin | :rpc | :none,
  path_semantics: :local | :remote | :guest,
  remote?: boolean(),
  startup_kind: :spawn | :attach | :bridge,
  supports_cwd?: boolean(),
  supports_env?: boolean(),
  supports_pty?: boolean(),
  supports_run?: boolean(),
  supports_streaming_stdio?: boolean(),
  supports_user?: boolean()
}

Functions

new(capabilities)

@spec new(t() | map() | keyword()) ::
  {:ok, t()} | {:error, {:invalid_capabilities, term()}}

new!(attrs)

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