ContainerSpec constructor

ContainerSpec({
  1. String? command,
  2. String? workingDir,
  3. required String image,
  4. List<EnvironmentVariable>? environment,
  5. List<String>? secrets,
  6. String? pullSecret,
  7. ContainerMountSpec? storage,
  8. ServiceApiKeySpec? apiKey,
  9. bool? onDemand,
  10. bool? writableRootFs,
  11. bool? private,
})

Implementation

ContainerSpec({
  this.command,
  this.workingDir,
  required this.image,
  List<EnvironmentVariable>? environment,
  List<String>? secrets,
  this.pullSecret,
  this.storage,
  this.apiKey,
  this.onDemand,
  this.writableRootFs,
  this.private,
}) : environment = environment ?? [],
     secrets = secrets ?? [];