Class GatewayLocatorOptions
Overrides for GatewayLocator, mainly for tests and containers.
public sealed record GatewayLocatorOptions : IEquatable<GatewayLocatorOptions>
- Inheritance
-
GatewayLocatorOptions
- Implements
- Inherited Members
Properties
GetEnvironmentVariable
Environment lookup; defaults to GetEnvironmentVariable(string).
public Func<string, string?>? GetEnvironmentVariable { get; init; }
Property Value
SystemConfigDirectory
Replaces the system-wide configuration directory. Takes precedence over $OPENSHELL_SYSTEM_GATEWAY_DIR
and the default /etc/openshell (none on Windows).
public string? SystemConfigDirectory { get; init; }
Property Value
UserConfigDirectory
Replaces the per-user openshell configuration directory.
public string? UserConfigDirectory { get; init; }