Container constructor

const Container({
  1. List<String>? args,
  2. List<String>? command,
  3. List<EnvVar>? env,
  4. List<EnvFromSource>? envFrom,
  5. String? image,
  6. String? imagePullPolicy,
  7. Lifecycle? lifecycle,
  8. Probe? livenessProbe,
  9. required String name,
  10. List<ContainerPort>? ports,
  11. Probe? readinessProbe,
  12. List<ContainerResizePolicy>? resizePolicy,
  13. ResourceRequirements? resources,
  14. SecurityContext? securityContext,
  15. Probe? startupProbe,
  16. bool? stdin,
  17. bool? stdinOnce,
  18. String? terminationMessagePath,
  19. String? terminationMessagePolicy,
  20. bool? tty,
  21. List<VolumeDevice>? volumeDevices,
  22. List<VolumeMount>? volumeMounts,
  23. String? workingDir,
})

Default constructor.

Implementation

const Container({
  this.args,
  this.command,
  this.env,
  this.envFrom,
  this.image,
  this.imagePullPolicy,
  this.lifecycle,
  this.livenessProbe,
  required this.name,
  this.ports,
  this.readinessProbe,
  this.resizePolicy,
  this.resources,
  this.securityContext,
  this.startupProbe,
  this.stdin,
  this.stdinOnce,
  this.terminationMessagePath,
  this.terminationMessagePolicy,
  this.tty,
  this.volumeDevices,
  this.volumeMounts,
  this.workingDir,
});