hack/update-bazel.sh

This commit is contained in:
Benjamin Elder
2021-02-28 14:17:42 -08:00
parent 95e4a6bcda
commit 56e092e382
3344 changed files with 0 additions and 147371 deletions

View File

@@ -1,48 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"compare.go",
"export_unsafe.go",
"options.go",
"path.go",
"report.go",
"report_compare.go",
"report_references.go",
"report_reflect.go",
"report_slices.go",
"report_text.go",
"report_value.go",
],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp",
importpath = "github.com/google/go-cmp/cmp",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/google/go-cmp/cmp/internal/diff:go_default_library",
"//vendor/github.com/google/go-cmp/cmp/internal/flags:go_default_library",
"//vendor/github.com/google/go-cmp/cmp/internal/function:go_default_library",
"//vendor/github.com/google/go-cmp/cmp/internal/value:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor/github.com/google/go-cmp/cmp/cmpopts:all-srcs",
"//vendor/github.com/google/go-cmp/cmp/internal/diff:all-srcs",
"//vendor/github.com/google/go-cmp/cmp/internal/flags:all-srcs",
"//vendor/github.com/google/go-cmp/cmp/internal/function:all-srcs",
"//vendor/github.com/google/go-cmp/cmp/internal/value:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -1,34 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"equate.go",
"ignore.go",
"sort.go",
"struct_filter.go",
"xform.go",
],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp/cmpopts",
importpath = "github.com/google/go-cmp/cmp/cmpopts",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/google/go-cmp/cmp:go_default_library",
"//vendor/github.com/google/go-cmp/cmp/internal/function:go_default_library",
"//vendor/golang.org/x/xerrors:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -1,27 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"debug_disable.go",
"diff.go",
],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp/internal/diff",
importpath = "github.com/google/go-cmp/cmp/internal/diff",
visibility = ["//vendor/github.com/google/go-cmp/cmp:__subpackages__"],
deps = ["//vendor/github.com/google/go-cmp/cmp/internal/flags:go_default_library"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -1,27 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"flags.go",
"toolchain_legacy.go",
"toolchain_recent.go",
],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp/internal/flags",
importpath = "github.com/google/go-cmp/cmp/internal/flags",
visibility = ["//vendor/github.com/google/go-cmp/cmp:__subpackages__"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -1,23 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["func.go"],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp/internal/function",
importpath = "github.com/google/go-cmp/cmp/internal/function",
visibility = ["//vendor/github.com/google/go-cmp/cmp:__subpackages__"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -1,28 +0,0 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"name.go",
"pointer_unsafe.go",
"sort.go",
"zero.go",
],
importmap = "k8s.io/kubernetes/vendor/github.com/google/go-cmp/cmp/internal/value",
importpath = "github.com/google/go-cmp/cmp/internal/value",
visibility = ["//vendor/github.com/google/go-cmp/cmp:__subpackages__"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)