Update to gazelle 0.12.0 and run hack/update-bazel.sh

This commit is contained in:
Jeff Grafton
2018-05-15 17:22:27 -07:00
parent e7f1eaf289
commit a725660640
855 changed files with 2949 additions and 6691 deletions

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["set.go"],
importmap = "vendor/github.com/docker/distribution/digestset",
importpath = "github.com/docker/distribution/digestset",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/opencontainers/go-digest:go_default_library"],

View File

@@ -8,6 +8,7 @@ go_library(
"reference.go",
"regexp.go",
],
importmap = "vendor/github.com/docker/distribution/reference",
importpath = "github.com/docker/distribution/reference",
visibility = ["//visibility:public"],
deps = [

View File

@@ -4,43 +4,11 @@ go_library(
name = "go_default_library",
srcs = [
"common.go",
"common_unix.go",
"common_windows.go",
"names.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"common_unix.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"common_windows.go",
],
"//conditions:default": [],
}),
],
importmap = "vendor/github.com/docker/docker/api",
importpath = "github.com/docker/docker/api",
visibility = ["//visibility:public"],
deps = [

View File

@@ -24,6 +24,7 @@ go_library(
"types.go",
"volume.go",
],
importmap = "vendor/github.com/docker/docker/api/types",
importpath = "github.com/docker/docker/api/types",
visibility = ["//visibility:public"],
deps = [

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["blkio.go"],
importmap = "vendor/github.com/docker/docker/api/types/blkiodev",
importpath = "github.com/docker/docker/api/types/blkiodev",
visibility = ["//visibility:public"],
)

View File

@@ -10,43 +10,11 @@ go_library(
"container_update.go",
"container_wait.go",
"host_config.go",
"hostconfig_unix.go",
"hostconfig_windows.go",
"waitcondition.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"hostconfig_unix.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"hostconfig_windows.go",
],
"//conditions:default": [],
}),
],
importmap = "vendor/github.com/docker/docker/api/types/container",
importpath = "github.com/docker/docker/api/types/container",
visibility = ["//visibility:public"],
deps = [

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["events.go"],
importmap = "vendor/github.com/docker/docker/api/types/events",
importpath = "github.com/docker/docker/api/types/events",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["parse.go"],
importmap = "vendor/github.com/docker/docker/api/types/filters",
importpath = "github.com/docker/docker/api/types/filters",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/docker/api/types/versions:go_default_library"],

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["image_history.go"],
importmap = "vendor/github.com/docker/docker/api/types/image",
importpath = "github.com/docker/docker/api/types/image",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["mount.go"],
importmap = "vendor/github.com/docker/docker/api/types/mount",
importpath = "github.com/docker/docker/api/types/mount",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["network.go"],
importmap = "vendor/github.com/docker/docker/api/types/network",
importpath = "github.com/docker/docker/api/types/network",
visibility = ["//visibility:public"],
)

View File

@@ -6,6 +6,7 @@ go_library(
"authenticate.go",
"registry.go",
],
importmap = "vendor/github.com/docker/docker/api/types/registry",
importpath = "github.com/docker/docker/api/types/registry",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/opencontainers/image-spec/specs-go/v1:go_default_library"],

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["strslice.go"],
importmap = "vendor/github.com/docker/docker/api/types/strslice",
importpath = "github.com/docker/docker/api/types/strslice",
visibility = ["//visibility:public"],
)

View File

@@ -14,6 +14,7 @@ go_library(
"swarm.go",
"task.go",
],
importmap = "vendor/github.com/docker/docker/api/types/swarm",
importpath = "github.com/docker/docker/api/types/swarm",
visibility = ["//visibility:public"],
deps = [

View File

@@ -6,6 +6,7 @@ go_library(
"gen.go",
"plugin.pb.go",
],
importmap = "vendor/github.com/docker/docker/api/types/swarm/runtime",
importpath = "github.com/docker/docker/api/types/swarm/runtime",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/gogo/protobuf/proto:go_default_library"],

View File

@@ -6,6 +6,7 @@ go_library(
"duration_convert.go",
"timestamp.go",
],
importmap = "vendor/github.com/docker/docker/api/types/time",
importpath = "github.com/docker/docker/api/types/time",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["compare.go"],
importmap = "vendor/github.com/docker/docker/api/types/versions",
importpath = "github.com/docker/docker/api/types/versions",
visibility = ["//visibility:public"],
)

View File

@@ -6,6 +6,7 @@ go_library(
"volumes_create.go",
"volumes_list.go",
],
importmap = "vendor/github.com/docker/docker/api/types/volume",
importpath = "github.com/docker/docker/api/types/volume",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/docker/api/types:go_default_library"],

View File

@@ -8,6 +8,8 @@ go_library(
"checkpoint_delete.go",
"checkpoint_list.go",
"client.go",
"client_unix.go",
"client_windows.go",
"config_create.go",
"config_inspect.go",
"config_list.go",
@@ -115,27 +117,8 @@ go_library(
"volume_list.go",
"volume_prune.go",
"volume_remove.go",
] + select({
"@io_bazel_rules_go//go/platform:darwin": [
"client_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"client_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"client_unix.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"client_unix.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"client_unix.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"client_windows.go",
],
"//conditions:default": [],
}),
],
importmap = "vendor/github.com/docker/docker/client",
importpath = "github.com/docker/docker/client",
visibility = ["//visibility:public"],
deps = [

View File

@@ -7,44 +7,12 @@ go_library(
"bytespipe.go",
"fswriters.go",
"readers.go",
"temp_unix.go",
"temp_windows.go",
"writeflusher.go",
"writers.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"temp_unix.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"temp_windows.go",
],
"//conditions:default": [],
}),
],
importmap = "vendor/github.com/docker/docker/pkg/ioutils",
importpath = "github.com/docker/docker/pkg/ioutils",
visibility = ["//visibility:public"],
deps = [

View File

@@ -8,6 +8,7 @@ go_library(
"jsonlogbytes.go",
"time_marshalling.go",
],
importmap = "vendor/github.com/docker/docker/pkg/jsonlog",
importpath = "github.com/docker/docker/pkg/jsonlog",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["jsonmessage.go"],
importmap = "vendor/github.com/docker/docker/pkg/jsonmessage",
importpath = "github.com/docker/docker/pkg/jsonmessage",
visibility = ["//visibility:public"],
deps = [

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["longpath.go"],
importmap = "vendor/github.com/docker/docker/pkg/longpath",
importpath = "github.com/docker/docker/pkg/longpath",
visibility = ["//visibility:public"],
)

View File

@@ -4,74 +4,25 @@ go_library(
name = "go_default_library",
srcs = [
"flags.go",
"flags_freebsd.go",
"flags_linux.go",
"flags_unsupported.go",
"mount.go",
"mounter_freebsd.go",
"mounter_linux.go",
"mounter_solaris.go",
"mounter_unsupported.go",
"mountinfo.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"flags_freebsd.go",
"flags_unsupported.go",
"mounter_freebsd.go",
"mounter_unsupported.go",
"mountinfo_freebsd.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"flags_linux.go",
"mounter_linux.go",
"mountinfo_linux.go",
"sharedsubtree_linux.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_unsupported.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"flags_unsupported.go",
"mounter_solaris.go",
"mounter_unsupported.go",
"mountinfo_solaris.go",
"mountinfo_unsupported.go",
"sharedsubtree_solaris.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"flags_unsupported.go",
"mounter_unsupported.go",
"mountinfo_windows.go",
],
"//conditions:default": [],
}),
"mountinfo_freebsd.go",
"mountinfo_linux.go",
"mountinfo_solaris.go",
"mountinfo_unsupported.go",
"mountinfo_windows.go",
"sharedsubtree_linux.go",
"sharedsubtree_solaris.go",
],
cgo = True,
importmap = "vendor/github.com/docker/docker/pkg/mount",
importpath = "github.com/docker/docker/pkg/mount",
visibility = ["//visibility:public"],
deps = select({

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["parsers.go"],
importmap = "vendor/github.com/docker/docker/pkg/parsers",
importpath = "github.com/docker/docker/pkg/parsers",
visibility = ["//visibility:public"],
)

View File

@@ -2,25 +2,14 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = select({
"@io_bazel_rules_go//go/platform:darwin": [
"operatingsystem_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"operatingsystem_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"operatingsystem_linux.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"operatingsystem_solaris.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"operatingsystem_windows.go",
],
"//conditions:default": [],
}),
srcs = [
"operatingsystem_linux.go",
"operatingsystem_solaris.go",
"operatingsystem_unix.go",
"operatingsystem_windows.go",
],
cgo = True,
importmap = "vendor/github.com/docker/docker/pkg/parsers/operatingsystem",
importpath = "github.com/docker/docker/pkg/parsers/operatingsystem",
visibility = ["//visibility:public"],
deps = select({

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["stdcopy.go"],
importmap = "vendor/github.com/docker/docker/pkg/stdcopy",
importpath = "github.com/docker/docker/pkg/stdcopy",
visibility = ["//visibility:public"],
)

View File

@@ -3,54 +3,15 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"numcpu.go",
"numcpu_linux.go",
"numcpu_windows.go",
"sysinfo.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"numcpu_linux.go",
"sysinfo_linux.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"numcpu.go",
"sysinfo_unix.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"numcpu.go",
"sysinfo_solaris.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"numcpu_windows.go",
"sysinfo_windows.go",
],
"//conditions:default": [],
}),
"sysinfo_linux.go",
"sysinfo_solaris.go",
"sysinfo_unix.go",
"sysinfo_windows.go",
],
cgo = True,
clinkopts = select({
"@io_bazel_rules_go//go/platform:solaris": [
@@ -58,6 +19,7 @@ go_library(
],
"//conditions:default": [],
}),
importmap = "vendor/github.com/docker/docker/pkg/sysinfo",
importpath = "github.com/docker/docker/pkg/sysinfo",
visibility = ["//visibility:public"],
deps = [

View File

@@ -4,172 +4,48 @@ go_library(
name = "go_default_library",
srcs = [
"chtimes.go",
"chtimes_unix.go",
"chtimes_windows.go",
"errors.go",
"events_windows.go",
"exitcode.go",
"filesys.go",
"filesys_windows.go",
"init.go",
"init_windows.go",
"lcow_unix.go",
"lcow_windows.go",
"lstat_unix.go",
"lstat_windows.go",
"meminfo.go",
"meminfo_linux.go",
"meminfo_solaris.go",
"meminfo_unsupported.go",
"meminfo_windows.go",
"mknod.go",
"mknod_windows.go",
"path.go",
"path_unix.go",
"path_windows.go",
"process_unix.go",
"rm.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"process_unix.go",
"stat_darwin.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"process_unix.go",
"stat_freebsd.go",
"stat_unix.go",
"syscall_unix.go",
"umask.go",
"utimes_freebsd.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_linux.go",
"mknod.go",
"path_unix.go",
"process_unix.go",
"stat_linux.go",
"stat_unix.go",
"syscall_unix.go",
"umask.go",
"utimes_linux.go",
"xattrs_linux.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_openbsd.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_unsupported.go",
"mknod.go",
"path_unix.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"chtimes_unix.go",
"filesys.go",
"lcow_unix.go",
"lstat_unix.go",
"meminfo_solaris.go",
"mknod.go",
"path_unix.go",
"process_unix.go",
"stat_solaris.go",
"stat_unix.go",
"umask.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"chtimes_windows.go",
"events_windows.go",
"filesys_windows.go",
"init_windows.go",
"lcow_windows.go",
"lstat_windows.go",
"meminfo_windows.go",
"mknod_windows.go",
"path_windows.go",
"stat_windows.go",
"syscall_windows.go",
"umask_windows.go",
"utimes_unsupported.go",
"xattrs_unsupported.go",
],
"//conditions:default": [],
}),
"stat_darwin.go",
"stat_freebsd.go",
"stat_linux.go",
"stat_openbsd.go",
"stat_solaris.go",
"stat_unix.go",
"stat_windows.go",
"syscall_unix.go",
"syscall_windows.go",
"umask.go",
"umask_windows.go",
"utimes_freebsd.go",
"utimes_linux.go",
"utimes_unsupported.go",
"xattrs_linux.go",
"xattrs_unsupported.go",
],
cgo = True,
clinkopts = select({
"@io_bazel_rules_go//go/platform:solaris": [
@@ -183,6 +59,7 @@ go_library(
],
"//conditions:default": [],
}),
importmap = "vendor/github.com/docker/docker/pkg/system",
importpath = "github.com/docker/docker/pkg/system",
visibility = ["//visibility:public"],
deps = [

View File

@@ -5,68 +5,17 @@ go_library(
srcs = [
"ascii.go",
"proxy.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"tc.go",
"term.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"tc.go",
"term.go",
"termios_bsd.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"tc.go",
"term.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"tc.go",
"term.go",
"termios_bsd.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"tc.go",
"term.go",
"termios_linux.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"tc.go",
"term.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"tc.go",
"term.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"tc.go",
"term.go",
"termios_bsd.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"tc.go",
"term.go",
"winsize.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"tc.go",
"tc_solaris_cgo.go",
"term.go",
"winsize_solaris_cgo.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"term_windows.go",
],
"//conditions:default": [],
}),
"tc.go",
"tc_solaris_cgo.go",
"term.go",
"term_windows.go",
"termios_bsd.go",
"termios_linux.go",
"winsize.go",
"winsize_solaris_cgo.go",
],
cgo = True,
importmap = "vendor/github.com/docker/docker/pkg/term",
importpath = "github.com/docker/docker/pkg/term",
visibility = ["//visibility:public"],
deps = select({

View File

@@ -3,15 +3,12 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"ansi_reader.go",
"ansi_writer.go",
"console.go",
"windows.go",
] + select({
"@io_bazel_rules_go//go/platform:windows": [
"ansi_reader.go",
"ansi_writer.go",
"console.go",
],
"//conditions:default": [],
}),
],
importmap = "vendor/github.com/docker/docker/pkg/term/windows",
importpath = "github.com/docker/docker/pkg/term/windows",
visibility = ["//visibility:public"],
deps = [

View File

@@ -6,6 +6,7 @@ go_library(
"tlsconfig_clone.go",
"tlsconfig_clone_go17.go",
],
importmap = "vendor/github.com/docker/docker/pkg/tlsconfig",
importpath = "github.com/docker/docker/pkg/tlsconfig",
visibility = ["//visibility:public"],
)

View File

@@ -7,6 +7,7 @@ go_library(
"parse.go",
"sort.go",
],
importmap = "vendor/github.com/docker/go-connections/nat",
importpath = "github.com/docker/go-connections/nat",
visibility = ["//visibility:public"],
)

View File

@@ -6,53 +6,12 @@ go_library(
"inmem_socket.go",
"proxy.go",
"sockets.go",
"sockets_unix.go",
"sockets_windows.go",
"tcp_socket.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"sockets_unix.go",
"unix_socket.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"sockets_windows.go",
],
"//conditions:default": [],
}),
"unix_socket.go",
],
importmap = "vendor/github.com/docker/go-connections/sockets",
importpath = "github.com/docker/go-connections/sockets",
visibility = ["//visibility:public"],
deps = [

View File

@@ -9,6 +9,7 @@ go_library(
"config_client_ciphers.go",
"config_legacy_client_ciphers.go",
],
importmap = "vendor/github.com/docker/go-connections/tlsconfig",
importpath = "github.com/docker/go-connections/tlsconfig",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/pkg/errors:go_default_library"],

View File

@@ -7,6 +7,7 @@ go_library(
"size.go",
"ulimit.go",
],
importmap = "vendor/github.com/docker/go-units",
importpath = "github.com/docker/go-units",
visibility = ["//visibility:public"],
)

View File

@@ -2,14 +2,12 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = select({
"@io_bazel_rules_go//go/platform:linux": [
"constants.go",
"ipvs.go",
"netlink.go",
],
"//conditions:default": [],
}),
srcs = [
"constants.go",
"ipvs.go",
"netlink.go",
],
importmap = "vendor/github.com/docker/libnetwork/ipvs",
importpath = "github.com/docker/libnetwork/ipvs",
visibility = ["//visibility:public"],
deps = select({

View File

@@ -15,6 +15,7 @@ go_library(
"rsa_key.go",
"util.go",
],
importmap = "vendor/github.com/docker/libtrust",
importpath = "github.com/docker/libtrust",
visibility = ["//visibility:public"],
)

View File

@@ -9,6 +9,7 @@ go_library(
"stream.go",
"utils.go",
],
importmap = "vendor/github.com/docker/spdystream",
importpath = "github.com/docker/spdystream",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/spdystream/spdy:go_default_library"],

View File

@@ -8,6 +8,7 @@ go_library(
"types.go",
"write.go",
],
importmap = "vendor/github.com/docker/spdystream/spdy",
importpath = "github.com/docker/spdystream/spdy",
visibility = ["//visibility:public"],
)