ContainerHostConfig constructor

const ContainerHostConfig({
  1. int? cpuShares,
  2. int? memory,
  3. String? cgroupParent,
  4. int? blkioWeight,
  5. List<ContainerBlkioWeightDevice>? blkioWeightDevice,
  6. List<ContainerBlkioDeviceRate>? blkioDeviceReadBps,
  7. List<ContainerBlkioDeviceRate>? blkioDeviceWriteBps,
  8. List<ContainerBlkioDeviceRate>? blkioDeviceReadIOps,
  9. List<ContainerBlkioDeviceRate>? blkioDeviceWriteIOps,
  10. int? cpuPeriod,
  11. int? cpuQuota,
  12. int? cpuRealtimePeriod,
  13. int? cpuRealtimeRuntime,
  14. String? cpusetCpus,
  15. String? cpusetMems,
  16. List<ContainerDeviceMapping>? devices,
  17. List<String>? deviceCgroupRules,
  18. List<ContainerDeviceRequest>? deviceRequests,
  19. int? kernelMemoryTCP,
  20. int? memoryReservation,
  21. int? memorySwap,
  22. int? memorySwappiness,
  23. int? nanoCpus,
  24. bool? oomKillDisable,
  25. bool? init,
  26. int? pidsLimit,
  27. List<ContainerUlimit>? ulimits,
  28. int? cpuCount,
  29. int? cpuPercent,
  30. int? ioMaximumIOps,
  31. int? ioMaximumBandwidth,
  32. List<String>? binds,
  33. String? containerIDFile,
  34. ContainerLogConfig? logConfig,
  35. String? networkMode,
  36. Map<String, List<ContainerPortBinding>?>? portBindings,
  37. ContainerRestartPolicy? restartPolicy,
  38. bool? autoRemove,
  39. String? volumeDriver,
  40. List<String>? volumesFrom,
  41. List<ContainerMountPoint>? mounts,
  42. List<int>? consoleSize,
  43. Map<String, String>? annotations,
  44. List<String>? capAdd,
  45. List<String>? capDrop,
  46. String? cgroupnsMode,
  47. List<String>? dns,
  48. List<String>? dnsOptions,
  49. List<String>? dnsSearch,
  50. List<String>? extraHosts,
  51. List<String>? groupAdd,
  52. String? ipcMode,
  53. String? cgroup,
  54. List<String>? links,
  55. int? oomScoreAdj,
  56. String? pidMode,
  57. bool? privileged,
  58. bool? publishAllPorts,
  59. bool? readonlyRootfs,
  60. List<String>? securityOpt,
  61. Map<String, String>? storageOpt,
  62. Map<String, String>? tmpfs,
  63. String? utsMode,
  64. String? usernsMode,
  65. int? shmSize,
  66. Map<String, String>? sysctls,
  67. String? runtime,
  68. String? isolation,
  69. List<String>? maskedPaths,
  70. List<String>? readonlyPaths,
})

Creates a ContainerHostConfig with the given fields.

Implementation

const ContainerHostConfig({
  this.cpuShares,
  this.memory,
  this.cgroupParent,
  this.blkioWeight,
  this.blkioWeightDevice,
  this.blkioDeviceReadBps,
  this.blkioDeviceWriteBps,
  this.blkioDeviceReadIOps,
  this.blkioDeviceWriteIOps,
  this.cpuPeriod,
  this.cpuQuota,
  this.cpuRealtimePeriod,
  this.cpuRealtimeRuntime,
  this.cpusetCpus,
  this.cpusetMems,
  this.devices,
  this.deviceCgroupRules,
  this.deviceRequests,
  this.kernelMemoryTCP,
  this.memoryReservation,
  this.memorySwap,
  this.memorySwappiness,
  this.nanoCpus,
  this.oomKillDisable,
  this.init,
  this.pidsLimit,
  this.ulimits,
  this.cpuCount,
  this.cpuPercent,
  this.ioMaximumIOps,
  this.ioMaximumBandwidth,
  this.binds,
  this.containerIDFile,
  this.logConfig,
  this.networkMode,
  this.portBindings,
  this.restartPolicy,
  this.autoRemove,
  this.volumeDriver,
  this.volumesFrom,
  this.mounts,
  this.consoleSize,
  this.annotations,
  this.capAdd,
  this.capDrop,
  this.cgroupnsMode,
  this.dns,
  this.dnsOptions,
  this.dnsSearch,
  this.extraHosts,
  this.groupAdd,
  this.ipcMode,
  this.cgroup,
  this.links,
  this.oomScoreAdj,
  this.pidMode,
  this.privileged,
  this.publishAllPorts,
  this.readonlyRootfs,
  this.securityOpt,
  this.storageOpt,
  this.tmpfs,
  this.utsMode,
  this.usernsMode,
  this.shmSize,
  this.sysctls,
  this.runtime,
  this.isolation,
  this.maskedPaths,
  this.readonlyPaths,
});