ContainerSpec constructor

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

Implementation

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