Interface IRemoteConfigSource
Abstraction for retrieving configuration from a remote source. Implementations may connect to Consul, Azure App Configuration, Kubernetes ConfigMaps, or any HTTP-based config service.
public interface IRemoteConfigSource
Properties
Name
Human-readable name of this config source (e.g. "consul", "http", "k8s-configmap").
string Name { get; }
Property Value
Methods
FetchAsync(CancellationToken)
Fetches the current configuration content from the remote source.
Returns null if the source is unreachable or has no content.
Task<RemoteConfigResult?> FetchAsync(CancellationToken ct = default)