update BUILD files

This commit is contained in:
Jeff Grafton
2017-10-12 13:52:10 -07:00
parent 32551a3322
commit aee5f457db
2216 changed files with 2985 additions and 6 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"],
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",
],
importpath = "github.com/docker/distribution/reference",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/distribution/digestset:go_default_library",

View File

@@ -12,6 +12,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/api",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/docker/pkg/ioutils:go_default_library",

View File

@@ -24,6 +24,7 @@ go_library(
"types.go",
"volume.go",
],
importpath = "github.com/docker/docker/api/types",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/docker/api/types/container: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 = ["blkio.go"],
importpath = "github.com/docker/docker/api/types/blkiodev",
visibility = ["//visibility:public"],
)

View File

@@ -18,6 +18,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/api/types/container",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/docker/api/types/blkiodev: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 = ["events.go"],
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"],
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"],
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"],
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"],
importpath = "github.com/docker/docker/api/types/network",
visibility = ["//visibility:public"],
)

View File

@@ -6,6 +6,7 @@ go_library(
"authenticate.go",
"registry.go",
],
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"],
importpath = "github.com/docker/docker/api/types/strslice",
visibility = ["//visibility:public"],
)

View File

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

View File

@@ -6,16 +6,11 @@ go_library(
"gen.go",
"plugin.pb.go",
],
importpath = "github.com/docker/docker/api/types/swarm/runtime",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/gogo/protobuf/proto:go_default_library"],
)
filegroup(
name = "go_default_library_protos",
srcs = ["plugin.proto"],
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),

View File

@@ -6,6 +6,7 @@ go_library(
"duration_convert.go",
"timestamp.go",
],
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"],
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",
],
importpath = "github.com/docker/docker/api/types/volume",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/docker/api/types:go_default_library"],
)

View File

@@ -127,6 +127,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/client",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/distribution/reference:go_default_library",

View File

@@ -16,6 +16,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/pkg/ioutils",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/net/context:go_default_library",

View File

@@ -8,6 +8,7 @@ go_library(
"jsonlogbytes.go",
"time_marshalling.go",
],
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"],
importpath = "github.com/docker/docker/pkg/jsonmessage",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/Nvveen/Gotty: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 = ["longpath.go"],
importpath = "github.com/docker/docker/pkg/longpath",
visibility = ["//visibility:public"],
)

View File

@@ -22,6 +22,7 @@ go_library(
"//conditions:default": [],
}),
cgo = True,
importpath = "github.com/docker/docker/pkg/mount",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:linux_amd64": [

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"],
importpath = "github.com/docker/docker/pkg/stdcopy",
visibility = ["//visibility:public"],
)

View File

@@ -11,6 +11,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/pkg/symlink",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/docker/pkg/system:go_default_library",

View File

@@ -51,6 +51,7 @@ go_library(
"//conditions:default": [],
}),
cgo = True,
importpath = "github.com/docker/docker/pkg/system",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/docker/pkg/mount:go_default_library",

View File

@@ -21,6 +21,7 @@ go_library(
"//conditions:default": [],
}),
cgo = True,
importpath = "github.com/docker/docker/pkg/term",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/sys/unix:go_default_library",

View File

@@ -12,6 +12,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/docker/pkg/term/windows",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/Azure/go-ansiterm:go_default_library",

View File

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

View File

@@ -70,6 +70,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/engine-api/client",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/distribution/reference:go_default_library",

View File

@@ -6,6 +6,7 @@ go_library(
"client.go",
"transport.go",
],
importpath = "github.com/docker/engine-api/client/transport",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/go-connections/sockets:go_default_library"],
)

View File

@@ -7,6 +7,7 @@ go_library(
"canceler_go14.go",
"cancellable.go",
],
importpath = "github.com/docker/engine-api/client/transport/cancellable",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/engine-api/client/transport:go_default_library",

View File

@@ -10,6 +10,7 @@ go_library(
"stats.go",
"types.go",
],
importpath = "github.com/docker/engine-api/types",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/engine-api/types/container: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 = ["blkio.go"],
importpath = "github.com/docker/engine-api/types/blkiodev",
visibility = ["//visibility:public"],
)

View File

@@ -12,6 +12,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/engine-api/types/container",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/docker/engine-api/types/blkiodev: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 = ["parse.go"],
importpath = "github.com/docker/engine-api/types/filters",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/engine-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 = ["network.go"],
importpath = "github.com/docker/engine-api/types/network",
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 = ["image_reference.go"],
importpath = "github.com/docker/engine-api/types/reference",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/docker/distribution/reference: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 = ["registry.go"],
importpath = "github.com/docker/engine-api/types/registry",
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 = ["strslice.go"],
importpath = "github.com/docker/engine-api/types/strslice",
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 = ["timestamp.go"],
importpath = "github.com/docker/engine-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"],
importpath = "github.com/docker/engine-api/types/versions",
visibility = ["//visibility:public"],
)

View File

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

View File

@@ -15,6 +15,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/go-connections/sockets",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/net/proxy:go_default_library",

View File

@@ -9,6 +9,7 @@ go_library(
"config_client_ciphers.go",
"config_legacy_client_ciphers.go",
],
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",
],
importpath = "github.com/docker/go-units",
visibility = ["//visibility:public"],
)

View File

@@ -10,6 +10,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/docker/libnetwork/ipvs",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:linux_amd64": [

View File

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

View File

@@ -9,6 +9,7 @@ go_library(
"stream.go",
"utils.go",
],
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",
],
importpath = "github.com/docker/spdystream/spdy",
visibility = ["//visibility:public"],
)