Container constructor

Container({
  1. List<String>? args,
  2. List<String>? command,
  3. List<EnvVar>? env,
  4. List<EnvFromSource>? envFrom,
  5. String? image,
  6. String? imagePullPolicy,
  7. Probe? livenessProbe,
  8. String? name,
  9. List<ContainerPort>? ports,
  10. Probe? readinessProbe,
  11. ResourceRequirements? resources,
  12. SecurityContext? securityContext,
  13. Probe? startupProbe,
  14. String? terminationMessagePath,
  15. String? terminationMessagePolicy,
  16. List<VolumeMount>? volumeMounts,
  17. String? workingDir,
})

Implementation

Container({
  this.args,
  this.command,
  this.env,
  this.envFrom,
  this.image,
  this.imagePullPolicy,
  this.livenessProbe,
  this.name,
  this.ports,
  this.readinessProbe,
  this.resources,
  this.securityContext,
  this.startupProbe,
  this.terminationMessagePath,
  this.terminationMessagePolicy,
  this.volumeMounts,
  this.workingDir,
});