mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
275 lines
12 KiB
Python
275 lines
12 KiB
Python
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"alpha.go",
|
|
"annotate.go",
|
|
"apiresources.go",
|
|
"apiversions.go",
|
|
"apply.go",
|
|
"apply_edit_last_applied.go",
|
|
"apply_set_last_applied.go",
|
|
"apply_view_last_applied.go",
|
|
"attach.go",
|
|
"autoscale.go",
|
|
"certificates.go",
|
|
"clusterinfo.go",
|
|
"clusterinfo_dump.go",
|
|
"cmd.go",
|
|
"completion.go",
|
|
"convert.go",
|
|
"cp.go",
|
|
"delete.go",
|
|
"delete_flags.go",
|
|
"describe.go",
|
|
"diff.go",
|
|
"drain.go",
|
|
"edit.go",
|
|
"exec.go",
|
|
"explain.go",
|
|
"expose.go",
|
|
"help.go",
|
|
"label.go",
|
|
"logs.go",
|
|
"options.go",
|
|
"patch.go",
|
|
"plugin.go",
|
|
"portforward.go",
|
|
"proxy.go",
|
|
"replace.go",
|
|
"rollingupdate.go",
|
|
"run.go",
|
|
"scale.go",
|
|
"taint.go",
|
|
"top.go",
|
|
"top_node.go",
|
|
"top_pod.go",
|
|
"version.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubectl/cmd",
|
|
visibility = [
|
|
"//build/visible_to:pkg_kubectl_cmd_CONSUMERS",
|
|
],
|
|
deps = [
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
"//pkg/apis/certificates:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/validation:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/typed/batch/internalversion:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
|
"//pkg/kubectl:go_default_library",
|
|
"//pkg/kubectl/apply/parse:go_default_library",
|
|
"//pkg/kubectl/apply/strategy:go_default_library",
|
|
"//pkg/kubectl/cmd/auth:go_default_library",
|
|
"//pkg/kubectl/cmd/config:go_default_library",
|
|
"//pkg/kubectl/cmd/create:go_default_library",
|
|
"//pkg/kubectl/cmd/get:go_default_library",
|
|
"//pkg/kubectl/cmd/rollout:go_default_library",
|
|
"//pkg/kubectl/cmd/scalejob:go_default_library",
|
|
"//pkg/kubectl/cmd/set:go_default_library",
|
|
"//pkg/kubectl/cmd/templates:go_default_library",
|
|
"//pkg/kubectl/cmd/util:go_default_library",
|
|
"//pkg/kubectl/cmd/util/editor:go_default_library",
|
|
"//pkg/kubectl/cmd/util/openapi:go_default_library",
|
|
"//pkg/kubectl/cmd/wait:go_default_library",
|
|
"//pkg/kubectl/explain:go_default_library",
|
|
"//pkg/kubectl/genericclioptions:go_default_library",
|
|
"//pkg/kubectl/genericclioptions/printers:go_default_library",
|
|
"//pkg/kubectl/genericclioptions/resource:go_default_library",
|
|
"//pkg/kubectl/metricsutil:go_default_library",
|
|
"//pkg/kubectl/plugins:go_default_library",
|
|
"//pkg/kubectl/polymorphichelpers:go_default_library",
|
|
"//pkg/kubectl/proxy:go_default_library",
|
|
"//pkg/kubectl/scheme:go_default_library",
|
|
"//pkg/kubectl/util:go_default_library",
|
|
"//pkg/kubectl/util/i18n:go_default_library",
|
|
"//pkg/kubectl/util/term:go_default_library",
|
|
"//pkg/kubectl/validation:go_default_library",
|
|
"//pkg/printers:go_default_library",
|
|
"//pkg/util/interrupt:go_default_library",
|
|
"//pkg/util/taints:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//vendor/github.com/daviddengcn/go-colortext:go_default_library",
|
|
"//vendor/github.com/docker/distribution/reference:go_default_library",
|
|
"//vendor/github.com/docker/docker/pkg/term:go_default_library",
|
|
"//vendor/github.com/evanphx/json-patch:go_default_library",
|
|
"//vendor/github.com/ghodss/yaml:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/github.com/jonboulle/clockwork:go_default_library",
|
|
"//vendor/github.com/renstrom/dedent:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
"//vendor/k8s.io/api/apps/v1:go_default_library",
|
|
"//vendor/k8s.io/api/autoscaling/v1:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/api/policy/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/jsonmergepatch:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/mergepatch:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/yaml:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/version:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/util/flag:go_default_library",
|
|
"//vendor/k8s.io/client-go/discovery:go_default_library",
|
|
"//vendor/k8s.io/client-go/dynamic:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/scale:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/portforward:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
|
|
"//vendor/k8s.io/client-go/transport/spdy:go_default_library",
|
|
"//vendor/k8s.io/kube-openapi/pkg/util/proto:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/apis/metrics:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/apis/metrics/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/client/clientset_generated/clientset:go_default_library",
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"annotate_test.go",
|
|
"apply_test.go",
|
|
"attach_test.go",
|
|
"clusterinfo_dump_test.go",
|
|
"cmd_printing_test.go",
|
|
"cmd_test.go",
|
|
"convert_test.go",
|
|
"cp_test.go",
|
|
"delete_test.go",
|
|
"describe_test.go",
|
|
"diff_test.go",
|
|
"drain_test.go",
|
|
"edit_test.go",
|
|
"exec_test.go",
|
|
"expose_test.go",
|
|
"label_test.go",
|
|
"logs_test.go",
|
|
"patch_test.go",
|
|
"plugin_test.go",
|
|
"portforward_test.go",
|
|
"replace_test.go",
|
|
"rollingupdate_test.go",
|
|
"run_test.go",
|
|
"taint_test.go",
|
|
"top_node_test.go",
|
|
"top_pod_test.go",
|
|
"top_test.go",
|
|
],
|
|
data = [
|
|
"testdata",
|
|
"//api/openapi-spec:swagger-spec",
|
|
"//test/e2e/testing-manifests:all-srcs",
|
|
"//test/fixtures",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/api/testing:go_default_library",
|
|
"//pkg/apis/batch:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
|
"//pkg/kubectl/cmd/create:go_default_library",
|
|
"//pkg/kubectl/cmd/testing:go_default_library",
|
|
"//pkg/kubectl/cmd/util:go_default_library",
|
|
"//pkg/kubectl/cmd/util/openapi:go_default_library",
|
|
"//pkg/kubectl/genericclioptions:go_default_library",
|
|
"//pkg/kubectl/genericclioptions/printers:go_default_library",
|
|
"//pkg/kubectl/genericclioptions/resource:go_default_library",
|
|
"//pkg/kubectl/plugins:go_default_library",
|
|
"//pkg/kubectl/polymorphichelpers:go_default_library",
|
|
"//pkg/kubectl/scheme:go_default_library",
|
|
"//pkg/kubectl/util/i18n:go_default_library",
|
|
"//pkg/kubectl/util/term:go_default_library",
|
|
"//pkg/printers:go_default_library",
|
|
"//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
"//vendor/gopkg.in/yaml.v2:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/api/policy/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/strategicpatch/testing:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/version:go_default_library",
|
|
"//vendor/k8s.io/client-go/dynamic/fake:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest/fake:go_default_library",
|
|
"//vendor/k8s.io/client-go/testing:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/apis/metrics/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/apis/metrics/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/metrics/pkg/client/clientset_generated/clientset/fake:go_default_library",
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubectl/cmd/auth:all-srcs",
|
|
"//pkg/kubectl/cmd/config:all-srcs",
|
|
"//pkg/kubectl/cmd/create:all-srcs",
|
|
"//pkg/kubectl/cmd/get:all-srcs",
|
|
"//pkg/kubectl/cmd/rollout:all-srcs",
|
|
"//pkg/kubectl/cmd/scalejob:all-srcs",
|
|
"//pkg/kubectl/cmd/set:all-srcs",
|
|
"//pkg/kubectl/cmd/templates:all-srcs",
|
|
"//pkg/kubectl/cmd/testdata/edit:all-srcs",
|
|
"//pkg/kubectl/cmd/testing:all-srcs",
|
|
"//pkg/kubectl/cmd/util:all-srcs",
|
|
"//pkg/kubectl/cmd/wait:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = [
|
|
"//build/visible_to:pkg_kubectl_cmd_CONSUMERS",
|
|
],
|
|
)
|