Class RootfsStagingSlot
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A gateway-owned slot for a local rootfs tar archive.
public sealed record RootfsStagingSlot : IEquatable<RootfsStagingSlot>
- Inheritance
-
RootfsStagingSlot
- Implements
- Inherited Members
Constructors
RootfsStagingSlot(string, string, ulong, DateTimeOffset?)
A gateway-owned slot for a local rootfs tar archive.
public RootfsStagingSlot(string StagingToken, string UploadPath, ulong MaxBytes, DateTimeOffset? ExpiresAt)
Parameters
StagingTokenstringOpaque single-use token; the first create that presents it consumes it.
UploadPathstringAbsolute path on the gateway host the archive must be written to.
MaxBytesulongMaximum accepted archive size; 0 means the gateway did not report a limit.
ExpiresAtDateTimeOffset?When the gateway reclaims the slot.
Properties
ExpiresAt
When the gateway reclaims the slot.
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
MaxBytes
Maximum accepted archive size; 0 means the gateway did not report a limit.
public ulong MaxBytes { get; init; }
Property Value
StagingToken
Opaque single-use token; the first create that presents it consumes it.
public string StagingToken { get; init; }
Property Value
UploadPath
Absolute path on the gateway host the archive must be written to.
public string UploadPath { get; init; }