ModelContainerSpec constructor

ModelContainerSpec({
  1. required String imageUri,
  2. List<String> command = const [],
  3. List<String> args = const [],
  4. List<EnvVar> env = const [],
  5. List<Port> ports = const [],
  6. String predictRoute = '',
  7. String healthRoute = '',
  8. String invokeRoutePrefix = '',
  9. List<Port> grpcPorts = const [],
  10. Duration? deploymentTimeout,
  11. int sharedMemorySizeMb = 0,
  12. Probe? startupProbe,
  13. Probe? healthProbe,
  14. Probe? livenessProbe,
})

Implementation

ModelContainerSpec({
  required this.imageUri,
  this.command = const [],
  this.args = const [],
  this.env = const [],
  this.ports = const [],
  this.predictRoute = '',
  this.healthRoute = '',
  this.invokeRoutePrefix = '',
  this.grpcPorts = const [],
  this.deploymentTimeout,
  this.sharedMemorySizeMb = 0,
  this.startupProbe,
  this.healthProbe,
  this.livenessProbe,
}) : super(fullyQualifiedName);