Class EdgegapAppVersionRequest
- Namespace
- Unity.Multiplayer.Core
What to tell Edgegap about the app version to deploy (EnsureAppVersionAsync(EdgegapAppVersionRequest, CancellationToken)).
public sealed class EdgegapAppVersionRequest
- Inheritance
-
EdgegapAppVersionRequest
- Inherited Members
Constructors
EdgegapAppVersionRequest(string, string, string, IReadOnlyList<EdgegapPortSpec>, IReadOnlyDictionary<string, string>)
Describes an app version.
public EdgegapAppVersionRequest(string appName, string versionName, string imageReference, IReadOnlyList<EdgegapPortSpec> ports, IReadOnlyDictionary<string, string> environmentVariables)
Parameters
appNamestringversionNamestringimageReferencestringportsIReadOnlyList<EdgegapPortSpec>environmentVariablesIReadOnlyDictionary<string, string>
Properties
AppName
The Edgegap application name (created once per game, out of band, in the Edgegap dashboard).
public string AppName { get; }
Property Value
EnvironmentVariables
Container environment variables (rendezvous URL/secret and the like), the same shape every other hosting profile uses.
public IReadOnlyDictionary<string, string> EnvironmentVariables { get; }
Property Value
ImageReference
The GHCR image reference this version runs (ghcr.io/org/game:tag), the same one mp-host just pushed.
public string ImageReference { get; }
Property Value
Ports
The ports the container exposes.
public IReadOnlyList<EdgegapPortSpec> Ports { get; }
Property Value
VersionName
The version name Edgegap tracks this build under; the mp-host image tag is a natural choice.
public string VersionName { get; }