mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-19 04:40:19 +00:00
73 lines
2.4 KiB
Python
73 lines
2.4 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"builder_flags.go",
|
|
"builder_flags_fake.go",
|
|
"config_flags.go",
|
|
"config_flags_fake.go",
|
|
"doc.go",
|
|
"filename_flags.go",
|
|
"io_options.go",
|
|
"json_yaml_flags.go",
|
|
"jsonpath_flags.go",
|
|
"kube_template_flags.go",
|
|
"name_flags.go",
|
|
"print_flags.go",
|
|
"record_flags.go",
|
|
"template_flags.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubectl/genericclioptions",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/kubectl/genericclioptions/printers:go_default_library",
|
|
"//pkg/kubectl/genericclioptions/resource:go_default_library",
|
|
"//vendor/github.com/evanphx/json-patch:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
"//vendor/k8s.io/client-go/discovery:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/restmapper:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/homedir:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubectl/genericclioptions/printers:all-srcs",
|
|
"//pkg/kubectl/genericclioptions/resource:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"json_yaml_flags_test.go",
|
|
"jsonpath_flags_test.go",
|
|
"name_flags_test.go",
|
|
"template_flags_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
],
|
|
)
|