ServiceTaskSpecResources constructor
const
ServiceTaskSpecResources({
- Input<
ServiceTaskSpecResourcesLimits?> ? limits, - Input<
ServiceTaskSpecResourcesReservation?> ? reservation,
Creates a new ServiceTaskSpecResources.
limits Describes the resources which can be advertised by a node and requested by a task
reservation An object describing the resources which can be advertised by a node and requested by a task
Implementation
const ServiceTaskSpecResources({
this.limits,
this.reservation,
});