Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) Close ¶
Close releases resources held by registered runtimes that implement contracts.CapabilityRuntimeCloser (e.g. wasm backends). It is idempotent and safe to call from an instance shutdown path once no execution is in flight.
func (*Registry) Register ¶
func (r *Registry) Register(runtimeType core.CapabilityRuntimeType, runtime contracts.CapabilityRuntime) error
func (*Registry) RegisterCoreRuntimes ¶
func (r *Registry) RegisterCoreRuntimes()
func (*Registry) Resolve ¶
func (r *Registry) Resolve(runtimeType core.CapabilityRuntimeType) (contracts.CapabilityRuntime, error)
Click to show internal directories.
Click to hide internal directories.