ModelRegistryApi class
Logical ModelRegistry service contract. Platform adapters remain responsible for native file handles, sandbox permissions, HTTP execution, and destructive filesystem operations. This service carries only the portable registry metadata and workflow messages owned by the IDL/C++ layer.
Constructors
- ModelRegistryApi(RpcClient _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
discover(
ClientContext? ctx, ModelDiscoveryRequest request) → Future< ModelDiscoveryResult> - Discover models from normalized roots supplied by platform adapters.
-
get(
ClientContext? ctx, ModelGetRequest request) → Future< ModelGetResult> - Fetch a single registry entry by id.
-
import(
ClientContext? ctx, ModelImportRequest request) → Future< ModelImportResult> - Import stable, platform-normalized local metadata into the registry.
-
list(
ClientContext? ctx, ModelListRequest request) → Future< ModelListResult> - List entries, optionally filtered by ModelListRequest.query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
ClientContext? ctx, ModelRegistryRefreshRequest request) → Future< ModelRegistryRefreshResult> - Refresh registry state from assignment/cache/local reconciliation inputs.
-
register(
ClientContext? ctx, ModelInfo request) → Future< ModelInfo> - Register new model metadata and return the normalized saved entry.
-
remove(
ClientContext? ctx, ModelDeleteRequest request) → Future< ModelDeleteResult> - Remove a registry entry. File deletion/unload work remains platform or lifecycle owned even when ModelDeleteRequest flags are populated.
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
ClientContext? ctx, ModelInfo request) → Future< ModelInfo> - Update an existing model metadata entry and return the normalized entry.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited