Table of Contents

Class GatewayLocatorOptions

Namespace
OpenShell.Gateway
Assembly
OpenShell.Sdk.dll

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

Func<string, string>

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

string

UserConfigDirectory

Replaces the per-user openshell configuration directory.

public string? UserConfigDirectory { get; init; }

Property Value

string