Table of Contents

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

StagingToken string

Opaque single-use token; the first create that presents it consumes it.

UploadPath string

Absolute path on the gateway host the archive must be written to.

MaxBytes ulong

Maximum accepted archive size; 0 means the gateway did not report a limit.

ExpiresAt DateTimeOffset?

When the gateway reclaims the slot.

Properties

ExpiresAt

When the gateway reclaims the slot.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

MaxBytes

Maximum accepted archive size; 0 means the gateway did not report a limit.

public ulong MaxBytes { get; init; }

Property Value

ulong

StagingToken

Opaque single-use token; the first create that presents it consumes it.

public string StagingToken { get; init; }

Property Value

string

UploadPath

Absolute path on the gateway host the archive must be written to.

public string UploadPath { get; init; }

Property Value

string