mirror of https://github.com/k3s-io/k3s
73 lines
3.4 KiB
Python
73 lines
3.4 KiB
Python
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",
|
|
"//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",
|
|
"//staging/src/k8s.io/kubectl/pkg/cmd/create:all-srcs",
|
|
"//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",
|
|
"//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/rollingupdate: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"],
|
|
)
|