1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/archive
Sebastiaan van Stijn 4f8c870d62
Fix some linting issues
These showed locally when running `make validate`. CI doesn't seem to have the
same (possibly it's disabled in the configuration)

    builder/fscache/fscache.go:618::error: github.com/docker/docker/vendor/github.com/tonistiigi/fsutil.StatInfo composite literal uses unkeyed fields (vet)
    client/swarm_unlock_test.go:44::error: github.com/docker/docker/api/types/swarm.UnlockRequest composite literal uses unkeyed fields (vet)
    client/swarm_unlock_test.go:20::error: github.com/docker/docker/api/types/swarm.UnlockRequest composite literal uses unkeyed fields (vet)
    cmd/dockerd/daemon_unix.go:113::error: github.com/docker/docker/cmd/dockerd/hack.MalformedHostHeaderOverride composite literal uses unkeyed fields (vet)
    cmd/dockerd/daemon_unix.go:110::error: github.com/docker/docker/cmd/dockerd/hack.MalformedHostHeaderOverride composite literal uses unkeyed fields (vet)
    daemon/graphdriver/overlay/overlay.go:171::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/graphdriver/overlay/overlay.go:413::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/graphdriver/overlay2/overlay.go:203::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/graphdriver/overlay2/overlay.go:584::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/graphdriver/zfs/zfs.go:109::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/graphdriver/zfs/zfs.go:388::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    daemon/volumes_windows.go:27::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    integration/service/network_test.go:31::error: github.com/docker/docker/api/types/network.NetworkingConfig composite literal uses unkeyed fields (vet)
    api/server/server.go:129:10⚠️ should not use basic type string as key in context.WithValue (golint)
    integration/service/network_test.go:54::error: github.com/docker/docker/api/types/network.NetworkingConfig composite literal uses unkeyed fields (vet)
    libcontainerd/client_daemon_linux.go:61::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    libcontainerd/client_daemon_linux.go:74::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    pkg/archive/archive_windows.go:76::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)
    plugin/manager_linux.go:56::error: github.com/docker/docker/pkg/idtools.IDPair composite literal uses unkeyed fields (vet)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-05-17 19:28:27 +02:00
..
testdata
archive.go Set format in archiver 2018-04-12 13:34:33 -07:00
archive_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
archive_linux_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
archive_other.go Add canonical import comment 2018-02-05 16:51:57 -05:00
archive_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
archive_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
archive_unix_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
archive_windows.go Fix some linting issues 2018-05-17 19:28:27 +02:00
archive_windows_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes_other.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes_posix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
changes_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
changes_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
copy.go Add canonical import comment 2018-02-05 16:51:57 -05:00
copy_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
copy_unix_test.go Automated migration using 2018-03-16 11:03:43 -04:00
copy_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
diff.go Add canonical import comment 2018-02-05 16:51:57 -05:00
diff_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
example_changes.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
README.md
time_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
time_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utils_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
whiteouts.go Add canonical import comment 2018-02-05 16:51:57 -05:00
wrap.go Add canonical import comment 2018-02-05 16:51:57 -05:00
wrap_test.go Automated migration using 2018-03-16 11:03:43 -04:00

This code provides helper functions for dealing with archive files.