Documentation
¶
Index ¶
- func WithBlkioDeviceReadBps(path string, rate uint64) godock.UpdateOptionFn
- func WithBlkioDeviceReadIOps(path string, rate uint64) godock.UpdateOptionFn
- func WithBlkioDeviceWriteBps(path string, rate uint64) godock.UpdateOptionFn
- func WithBlkioDeviceWriteIOps(path string, rate uint64) godock.UpdateOptionFn
- func WithBlkioWeight(blkioWeight uint16) godock.UpdateOptionFn
- func WithBlkioWeightDevice(path string, weight uint16) godock.UpdateOptionFn
- func WithCPUCount(cpuCount int64) godock.UpdateOptionFn
- func WithCPUPercent(cpuPercent int64) godock.UpdateOptionFn
- func WithCPUPeriod(cpuPeriod int64) godock.UpdateOptionFn
- func WithCPUQuota(cpuQuota int64) godock.UpdateOptionFn
- func WithCPURealtimePeriod(cpuRealtimePeriod int64) godock.UpdateOptionFn
- func WithCPURealtimeRuntime(cpuRealtimeRuntime int64) godock.UpdateOptionFn
- func WithCPUShares(cpuShares int64) godock.UpdateOptionFn
- func WithCgroupParent(cgroupParent string) godock.UpdateOptionFn
- func WithCpusetCpus(cpusetCpus string) godock.UpdateOptionFn
- func WithCpusetMems(cpusetMems string) godock.UpdateOptionFn
- func WithDeviceCgroupRules(rules ...string) godock.UpdateOptionFn
- func WithDeviceRequests(driver string, count int, capabilities [][]string) godock.UpdateOptionFn
- func WithDevices(pathOnHost string, pathInContainer string, cgroupPermissions string) godock.UpdateOptionFn
- func WithIOMaximumBandwidth(ioMaximumBandwidth uint64) godock.UpdateOptionFn
- func WithIOMaximumIOps(ioMaximumIOps uint64) godock.UpdateOptionFn
- func WithKernelMemory(kernelMemory int64) godock.UpdateOptionFn
- func WithKernelMemoryTCP(kernelMemoryTCP int64) godock.UpdateOptionFn
- func WithMemory(memory int64) godock.UpdateOptionFn
- func WithMemoryReservation(memoryReservation int64) godock.UpdateOptionFn
- func WithMemorySwap(memorySwap int64) godock.UpdateOptionFn
- func WithMemorySwappiness(memorySwappiness int64) godock.UpdateOptionFn
- func WithNanoCPUs(nanoCPUs int64) godock.UpdateOptionFn
- func WithOomKillDisable(oomKillDisable bool) godock.UpdateOptionFn
- func WithPidsLimit(pidsLimit int64) godock.UpdateOptionFn
- func WithRestartPolicy(name string, maximumRetryCount int) godock.UpdateOptionFn
- func WithUlimits(name string, softLimit int64, hardLimit int64) godock.UpdateOptionFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBlkioDeviceReadBps ¶
func WithBlkioDeviceReadBps(path string, rate uint64) godock.UpdateOptionFn
WithBlkioDeviceReadBps updates the blkio device read bps for the container.
func WithBlkioDeviceReadIOps ¶
func WithBlkioDeviceReadIOps(path string, rate uint64) godock.UpdateOptionFn
WithBlkioDeviceReadIOps updates the blkio device read iops for the container.
func WithBlkioDeviceWriteBps ¶
func WithBlkioDeviceWriteBps(path string, rate uint64) godock.UpdateOptionFn
WithBlkioDeviceWriteBps updates the blkio device write bps for the container.
func WithBlkioDeviceWriteIOps ¶
func WithBlkioDeviceWriteIOps(path string, rate uint64) godock.UpdateOptionFn
WithBlkioDeviceWriteIOps updates the blkio device write iops for the container.
func WithBlkioWeight ¶
func WithBlkioWeight(blkioWeight uint16) godock.UpdateOptionFn
WithBlkioWeight updates the blkio weight for the container.
func WithBlkioWeightDevice ¶
func WithBlkioWeightDevice(path string, weight uint16) godock.UpdateOptionFn
WithBlkioWeightDevice updates the blkio weight device for the container.
func WithCPUCount ¶
func WithCPUCount(cpuCount int64) godock.UpdateOptionFn
WithCPUCount updates the cpu count for the container.
func WithCPUPercent ¶
func WithCPUPercent(cpuPercent int64) godock.UpdateOptionFn
WithCPUPercent updates the cpu percent for the container.
func WithCPUPeriod ¶
func WithCPUPeriod(cpuPeriod int64) godock.UpdateOptionFn
WithCPUPeriod updates the cpu period for the container.
func WithCPUQuota ¶
func WithCPUQuota(cpuQuota int64) godock.UpdateOptionFn
WithCPUQuota updates the cpu quota for the container.
func WithCPURealtimePeriod ¶
func WithCPURealtimePeriod(cpuRealtimePeriod int64) godock.UpdateOptionFn
WithCPURealtimePeriod updates the cpu realtime period for the container.
func WithCPURealtimeRuntime ¶
func WithCPURealtimeRuntime(cpuRealtimeRuntime int64) godock.UpdateOptionFn
WithCPURealtimeRuntime updates the cpu realtime runtime for the container.
func WithCPUShares ¶
func WithCPUShares(cpuShares int64) godock.UpdateOptionFn
WithCPUShares updates the CPU shares for the container.
func WithCgroupParent ¶
func WithCgroupParent(cgroupParent string) godock.UpdateOptionFn
WithCgroupParent updates the cgroup parent for the container.
func WithCpusetCpus ¶
func WithCpusetCpus(cpusetCpus string) godock.UpdateOptionFn
WithCpusetCpus updates the cpuset cpus for the container.
func WithCpusetMems ¶
func WithCpusetMems(cpusetMems string) godock.UpdateOptionFn
WithCpusetMems updates the cpuset mems for the container.
func WithDeviceCgroupRules ¶
func WithDeviceCgroupRules(rules ...string) godock.UpdateOptionFn
WithDeviceCgroupRules updates the device cgroup rules for the container.
func WithDeviceRequests ¶
func WithDeviceRequests(driver string, count int, capabilities [][]string) godock.UpdateOptionFn
WithDeviceRequests updates the device requests for the container.
func WithDevices ¶
func WithDevices(pathOnHost string, pathInContainer string, cgroupPermissions string) godock.UpdateOptionFn
WithDevices updates the devices for the container.
func WithIOMaximumBandwidth ¶
func WithIOMaximumBandwidth(ioMaximumBandwidth uint64) godock.UpdateOptionFn
WithIOMaximumBandwidth updates the io maximum bandwidth for the container.
func WithIOMaximumIOps ¶
func WithIOMaximumIOps(ioMaximumIOps uint64) godock.UpdateOptionFn
WithIOMaximumIOps updates the io maximum iops for the container.
func WithKernelMemory ¶
func WithKernelMemory(kernelMemory int64) godock.UpdateOptionFn
WithKernelMemory updates the kernel memory for the container.
func WithKernelMemoryTCP ¶
func WithKernelMemoryTCP(kernelMemoryTCP int64) godock.UpdateOptionFn
WithKernelMemoryTCP updates the kernel memory tcp for the container.
func WithMemory ¶
func WithMemory(memory int64) godock.UpdateOptionFn
WithMemory updates the memory for the container.
func WithMemoryReservation ¶
func WithMemoryReservation(memoryReservation int64) godock.UpdateOptionFn
WithMemoryReservation updates the memory reservation for the container.
func WithMemorySwap ¶
func WithMemorySwap(memorySwap int64) godock.UpdateOptionFn
WithMemorySwap updates the memory swap for the container.
func WithMemorySwappiness ¶
func WithMemorySwappiness(memorySwappiness int64) godock.UpdateOptionFn
WithMemorySwappiness updates the memory swappiness for the container.
func WithNanoCPUs ¶
func WithNanoCPUs(nanoCPUs int64) godock.UpdateOptionFn
WithNanoCPUs updates the nano CPUs for the container.
func WithOomKillDisable ¶
func WithOomKillDisable(oomKillDisable bool) godock.UpdateOptionFn
WithOomKillDisable updates the oom kill disable for the container.
func WithPidsLimit ¶
func WithPidsLimit(pidsLimit int64) godock.UpdateOptionFn
WithPidsLimit updates the pids limit for the container.
func WithRestartPolicy ¶
func WithRestartPolicy(name string, maximumRetryCount int) godock.UpdateOptionFn
func WithUlimits ¶
func WithUlimits(name string, softLimit int64, hardLimit int64) godock.UpdateOptionFn
WithUlimits updates the ulimits for the container.
Types ¶
This section is empty.