Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

Ulimit

Handle
📦 Aspire.Hosting.Docker v17.0.0

Represents the configuration for system resource limits (ulimits) for a container.

type Ulimit interface{}

Properties

propertyHard*float64get · set
Gets or sets the hard limit for the resource control.
Hard() (*float64, error)
SetHard(value *float64) Ulimit
propertySoft*float64get · set
Defines the soft limit for the Ulimit configuration. The soft limit is the value for resource restrictions that a process is allowed to increase up to the hard limit. This property is nullable, which indicates that this configuration might not be set.
Soft() (*float64, error)
SetSoft(value *float64) Ulimit