Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
make vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Jan 17, 2021
1 parent 7654e7a commit 736565c
Show file tree
Hide file tree
Showing 448 changed files with 1,838 additions and 1,782 deletions.
8 changes: 4 additions & 4 deletions cmd/etcd-backup-ctl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
name = "go_default_library",
name = "etcd-backup-ctl_lib",
srcs = ["main.go"],
importpath = "kope.io/etcd-manager/cmd/etcd-backup-ctl",
visibility = ["//visibility:private"],
deps = [
"//pkg/backup:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/backup",
"//vendor/k8s.io/klog/v2:klog",
],
)

go_binary(
name = "etcd-backup-ctl",
embed = [":go_default_library"],
embed = [":etcd-backup-ctl_lib"],
visibility = ["//visibility:public"],
)
10 changes: 5 additions & 5 deletions cmd/etcd-backup/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
name = "go_default_library",
name = "etcd-backup_lib",
srcs = ["main.go"],
importpath = "kope.io/etcd-manager/cmd/etcd-backup",
visibility = ["//visibility:private"],
deps = [
"//pkg/backup:go_default_library",
"//pkg/backupcontroller:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/backup",
"//pkg/backupcontroller",
"//vendor/k8s.io/klog/v2:klog",
],
)

go_binary(
name = "etcd-backup",
embed = [":go_default_library"],
embed = [":etcd-backup_lib"],
visibility = ["//visibility:public"],
)
14 changes: 7 additions & 7 deletions cmd/etcd-dump/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
name = "go_default_library",
name = "etcd-dump_lib",
srcs = ["main.go"],
importpath = "kope.io/etcd-manager/cmd/etcd-dump",
visibility = ["//visibility:private"],
deps = [
"//pkg/backup:go_default_library",
"//pkg/etcd:go_default_library",
"//pkg/etcd/dump:go_default_library",
"//pkg/etcdclient:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/backup",
"//pkg/etcd",
"//pkg/etcd/dump",
"//pkg/etcdclient",
"//vendor/k8s.io/klog/v2:klog",
],
)

go_binary(
name = "etcd-dump",
embed = [":go_default_library"],
embed = [":etcd-dump_lib"],
visibility = ["//visibility:public"],
)
14 changes: 7 additions & 7 deletions cmd/etcd-manager-ctl/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
name = "go_default_library",
name = "etcd-manager-ctl_lib",
srcs = ["main.go"],
importpath = "kope.io/etcd-manager/cmd/etcd-manager-ctl",
visibility = ["//visibility:private"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/backup:go_default_library",
"//pkg/commands:go_default_library",
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/apis/etcd",
"//pkg/backup",
"//pkg/commands",
"//vendor/github.com/golang/protobuf/proto",
"//vendor/k8s.io/klog/v2:klog",
],
)

go_binary(
name = "etcd-manager-ctl",
embed = [":go_default_library"],
embed = [":etcd-manager-ctl_lib"],
visibility = ["//visibility:public"],
)
52 changes: 26 additions & 26 deletions cmd/etcd-manager/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
name = "go_default_library",
name = "etcd-manager_lib",
srcs = ["main.go"],
importpath = "kope.io/etcd-manager/cmd/etcd-manager",
visibility = ["//visibility:private"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/backup:go_default_library",
"//pkg/commands:go_default_library",
"//pkg/controller:go_default_library",
"//pkg/etcd:go_default_library",
"//pkg/hosts:go_default_library",
"//pkg/legacy:go_default_library",
"//pkg/locking:go_default_library",
"//pkg/pki:go_default_library",
"//pkg/privateapi:go_default_library",
"//pkg/privateapi/discovery:go_default_library",
"//pkg/privateapi/discovery/vfs:go_default_library",
"//pkg/tlsconfig:go_default_library",
"//pkg/urls:go_default_library",
"//pkg/volumes:go_default_library",
"//pkg/volumes/alicloud:go_default_library",
"//pkg/volumes/aws:go_default_library",
"//pkg/volumes/azure:go_default_library",
"//pkg/volumes/do:go_default_library",
"//pkg/volumes/external:go_default_library",
"//pkg/volumes/gce:go_default_library",
"//pkg/volumes/openstack:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//vendor/k8s.io/kops/util/pkg/vfs:go_default_library",
"//pkg/apis/etcd",
"//pkg/backup",
"//pkg/commands",
"//pkg/controller",
"//pkg/etcd",
"//pkg/hosts",
"//pkg/legacy",
"//pkg/locking",
"//pkg/pki",
"//pkg/privateapi",
"//pkg/privateapi/discovery",
"//pkg/privateapi/discovery/vfs",
"//pkg/tlsconfig",
"//pkg/urls",
"//pkg/volumes",
"//pkg/volumes/alicloud",
"//pkg/volumes/aws",
"//pkg/volumes/azure",
"//pkg/volumes/do",
"//pkg/volumes/external",
"//pkg/volumes/gce",
"//pkg/volumes/openstack",
"//vendor/k8s.io/klog/v2:klog",
"//vendor/k8s.io/kops/util/pkg/vfs",
],
)

go_binary(
name = "etcd-manager",
embed = [":go_default_library"],
embed = [":etcd-manager_lib"],
visibility = ["//visibility:public"],
)
2 changes: 1 addition & 1 deletion images/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ architectures = [
name = "pkg_tar_%s_%s" % (pkg, arch),
srcs = ["@debian_packages_gz_%s//file" % (arch)],
outs = ["%s_%s.tar" % (pkg, arch)],
tools = ["@deb_tools//:deb-tools"],
cmd = "./$(location @deb_tools//:deb-tools) --cache-dir $$TMPDIR --mirror http://snapshot.debian.org/archive/debian/20201101T154040Z/ --out \"$@\" --package %s --packages ./$(location @debian_packages_gz_%s//file)" % (pkg, arch),
tools = ["@deb_tools//:deb-tools"],
visibility = ["//visibility:public"],
) for pkg in packages for arch in architectures]

Expand Down
10 changes: 5 additions & 5 deletions pkg/apis/etcd/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "etcd",
srcs = [
"etcdapi.pb.go",
"json.go",
],
importpath = "kope.io/etcd-manager/pkg/apis/etcd",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/jsonpb:go_default_library",
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/golang.org/x/net/context:go_default_library",
"//vendor/google.golang.org/grpc:go_default_library",
"//vendor/github.com/golang/protobuf/jsonpb",
"//vendor/github.com/golang/protobuf/proto",
"//vendor/golang.org/x/net/context",
"//vendor/google.golang.org/grpc",
],
)
10 changes: 5 additions & 5 deletions pkg/backup/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "backup",
srcs = [
"fs.go",
"store.go",
Expand All @@ -10,9 +10,9 @@ go_library(
importpath = "kope.io/etcd-manager/pkg/backup",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/ioutils:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//vendor/k8s.io/kops/util/pkg/vfs:go_default_library",
"//pkg/apis/etcd",
"//pkg/ioutils",
"//vendor/k8s.io/klog/v2:klog",
"//vendor/k8s.io/kops/util/pkg/vfs",
],
)
18 changes: 9 additions & 9 deletions pkg/backupcontroller/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
name = "go_default_library",
name = "backupcontroller",
srcs = [
"cleanup.go",
"controller.go",
Expand All @@ -10,17 +10,17 @@ go_library(
importpath = "kope.io/etcd-manager/pkg/backupcontroller",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/backup:go_default_library",
"//pkg/contextutil:go_default_library",
"//pkg/etcd:go_default_library",
"//pkg/etcdclient:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/apis/etcd",
"//pkg/backup",
"//pkg/contextutil",
"//pkg/etcd",
"//pkg/etcdclient",
"//vendor/k8s.io/klog/v2:klog",
],
)

go_test(
name = "go_default_test",
name = "backupcontroller_test",
srcs = ["parse_test.go"],
embed = [":go_default_library"],
embed = [":backupcontroller"],
)
8 changes: 4 additions & 4 deletions pkg/commands/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "commands",
srcs = [
"store.go",
"vfs.go",
],
importpath = "kope.io/etcd-manager/pkg/commands",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//vendor/k8s.io/kops/util/pkg/vfs:go_default_library",
"//pkg/apis/etcd",
"//vendor/k8s.io/klog/v2:klog",
"//vendor/k8s.io/kops/util/pkg/vfs",
],
)
4 changes: 2 additions & 2 deletions pkg/contextutil/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "contextutil",
srcs = ["poll.go"],
importpath = "kope.io/etcd-manager/pkg/contextutil",
visibility = ["//visibility:public"],
deps = ["//vendor/k8s.io/klog/v2:go_default_library"],
deps = ["//vendor/k8s.io/klog/v2:klog"],
)
30 changes: 15 additions & 15 deletions pkg/controller/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "controller",
srcs = [
"commands.go",
"controller.go",
Expand All @@ -16,19 +16,19 @@ go_library(
importpath = "kope.io/etcd-manager/pkg/controller",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/backup:go_default_library",
"//pkg/backupcontroller:go_default_library",
"//pkg/commands:go_default_library",
"//pkg/contextutil:go_default_library",
"//pkg/etcd:go_default_library",
"//pkg/etcdclient:go_default_library",
"//pkg/etcdversions:go_default_library",
"//pkg/locking:go_default_library",
"//pkg/pki:go_default_library",
"//pkg/privateapi:go_default_library",
"//pkg/urls:go_default_library",
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/apis/etcd",
"//pkg/backup",
"//pkg/backupcontroller",
"//pkg/commands",
"//pkg/contextutil",
"//pkg/etcd",
"//pkg/etcdclient",
"//pkg/etcdversions",
"//pkg/locking",
"//pkg/pki",
"//pkg/privateapi",
"//pkg/urls",
"//vendor/github.com/golang/protobuf/proto",
"//vendor/k8s.io/klog/v2:klog",
],
)
2 changes: 1 addition & 1 deletion pkg/dns/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "dns",
srcs = ["dns.go"],
importpath = "kope.io/etcd-manager/pkg/dns",
visibility = ["//visibility:public"],
Expand Down
30 changes: 15 additions & 15 deletions pkg/etcd/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
name = "go_default_library",
name = "etcd",
srcs = [
"backup.go",
"etcdprocess.go",
Expand All @@ -13,19 +13,19 @@ go_library(
importpath = "kope.io/etcd-manager/pkg/etcd",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/etcd:go_default_library",
"//pkg/backup:go_default_library",
"//pkg/contextutil:go_default_library",
"//pkg/dns:go_default_library",
"//pkg/etcdclient:go_default_library",
"//pkg/etcdversions:go_default_library",
"//pkg/legacy:go_default_library",
"//pkg/pki:go_default_library",
"//pkg/privateapi:go_default_library",
"//pkg/urls:go_default_library",
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/golang.org/x/net/context:go_default_library",
"//vendor/k8s.io/client-go/util/cert:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
"//pkg/apis/etcd",
"//pkg/backup",
"//pkg/contextutil",
"//pkg/dns",
"//pkg/etcdclient",
"//pkg/etcdversions",
"//pkg/legacy",
"//pkg/pki",
"//pkg/privateapi",
"//pkg/urls",
"//vendor/github.com/golang/protobuf/proto",
"//vendor/golang.org/x/net/context",
"//vendor/k8s.io/client-go/util/cert",
"//vendor/k8s.io/klog/v2:klog",
],
)
Loading

0 comments on commit 736565c

Please sign in to comment.