ServiceTaskSpecResources constructor

const ServiceTaskSpecResources({
  1. Input<ServiceTaskSpecResourcesLimits>? limits,
  2. 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,
});