2019-09-27 21:51:53 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["alpha.go"],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd",
|
|
|
|
importpath = "k8s.io/kubectl/pkg/cmd",
|
|
|
|
visibility = [
|
|
|
|
"//build/visible_to:pkg_kubectl_cmd_CONSUMERS",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/cli-runtime/pkg/genericclioptions:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/debug:go_default_library",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/util:go_default_library",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/util/i18n:go_default_library",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/util/templates:go_default_library",
|
|
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/annotate:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/apiresources:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/apply:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/attach:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/autoscale:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/certificates:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/completion:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/config:all-srcs",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/cp:all-srcs",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/create:all-srcs",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/debug:all-srcs",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/delete:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/describe:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/diff:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/drain:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/edit:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/exec:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/explain:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/expose:all-srcs",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/get:all-srcs",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/help:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/kustomize:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/label:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/logs:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/options:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/patch:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/plugin:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/portforward:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/proxy:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/replace:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/rollout:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/run:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/scale:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/set:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/taint:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/testing:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/top:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/util:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/version:all-srcs",
|
|
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/wait:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|