diff --git a/types.go b/types.go index 3dbafc2..b31c788 100644 --- a/types.go +++ b/types.go @@ -46,6 +46,8 @@ type HostConfig struct { SecurityOpt []string NetworkMode string RestartPolicy RestartPolicy + Ulimits []Ulimit + LogConfig LogConfig } type ExecConfig struct { @@ -256,3 +258,14 @@ type Stats struct { MemoryStats MemoryStats `json:"memory_stats,omitempty"` BlkioStats BlkioStats `json:"blkio_stats,omitempty"` } + +type Ulimit struct { + Name string `json:"name"` + Soft uint64 `json:"soft"` + Hard uint64 `json:"hard"` +} + +type LogConfig struct { + Type string `json:"type"` + Config map[string]string `json:"config"` +}