ModelContainerSpec constructor
ModelContainerSpec({
- required String imageUri,
- List<
String> command = const [], - List<
String> args = const [], - List<
EnvVar> env = const [], - List<
Port> ports = const [], - String predictRoute = '',
- String healthRoute = '',
- String invokeRoutePrefix = '',
- List<
Port> grpcPorts = const [], - Duration? deploymentTimeout,
- Probe? startupProbe,
- Probe? healthProbe,
- 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);