spiegel_podman/pkg/spec
W. Trevor King 4f0c0597a1 spec: Make addPrivilegedDevices and createBlockIO per-platform
b96be3af (changes to allow for darwin compilation, 2018-06-20, #1015)
made AddPrivilegedDevices per-platform and cc6f0e85 (more changes to
compile darwin, 2018-07-04, #1047) made CreateBlockIO per-platform.
But both left but left out docs for the unsupported version [1]:

  pkg/spec/config_unsupported.go:18:1⚠️ exported method
    CreateConfig.AddPrivilegedDevices should have comment or be
    unexported (golint)
  pkg/spec/config_unsupported.go:22:1⚠️ exported method
    CreateConfig.CreateBlockIO should have comment or be unexported
    (golint)

To keep the docs DRY, I've restored the public methods and their docs,
and I've added new, internal methods for the per-platform
implementations.

[1]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L160

Signed-off-by: W. Trevor King <wking@tremily.us>

Closes: #1034
Approved by: baude
2018-07-06 00:48:40 +00:00
..
config_linux.go spec: Make addPrivilegedDevices and createBlockIO per-platform 2018-07-06 00:48:40 +00:00
config_unsupported.go spec: Make addPrivilegedDevices and createBlockIO per-platform 2018-07-06 00:48:40 +00:00
createconfig.go spec: Make addPrivilegedDevices and createBlockIO per-platform 2018-07-06 00:48:40 +00:00
parse.go changes to allow for darwin compilation 2018-06-29 20:44:09 +00:00
ports.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
spec.go changes to allow for darwin compilation 2018-06-29 20:44:09 +00:00
spec_test.go Add flag to add annotations to a container 2018-06-04 17:52:28 +00:00