Skip to main content Module discovery Copy item path Source pub use utils::watch_and_extract_field ;utils Utility functions for working with discovery streams DiscoveryMetadata Metadata stored on each pod and exposed via HTTP endpoint
This struct holds all discovery registrations for this pod instance EndpointInstanceId Unique identifier for an endpoint instance EventChannelInstanceId Unique identifier for an event channel instance EventChannelQuery Unified query for event channels with optional scope filters KVStoreDiscovery Discovery implementation backed by a kv::Store KubeDiscoveryClient Kubernetes-based discovery client MetadataSnapshot Snapshot of all discovered instances and their metadata MockDiscovery Mock implementation of Discovery for testing
We can potentially remove this once we have KVStoreDiscovery fully tested ModelCardInstanceId Unique identifier for a model card instance
The combination of (namespace, component, endpoint, instance_id, model_suffix) uniquely identifies a model card SharedMockRegistry Shared in-memory registry for mock discovery DiscoveryEvent Events emitted by the discovery watch stream DiscoveryInstance Registered instances in the discovery plane
Represents objects that have been successfully registered with an instance ID DiscoveryInstanceId Union of instance identifiers for different discovery object types DiscoveryQuery Query key for prefix-based discovery queries
Supports hierarchical queries from all endpoints down to specific endpoints DiscoverySpec Specification for registering objects in the discovery plane
Represents the input to the register() operation EventCodecKind Codec kind for event plane serialization. EventTransport Transport configuration for event plane channels. EventTransportKind Transport kind for event plane - used for configuration and env var selection. Discovery Discovery trait for service discovery across different backends hash_pod_name Hash a pod name to get a consistent instance ID DiscoveryStream Stream type for discovery events