mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
74 lines
2.6 KiB
Python
74 lines
2.6 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",
|
|
],
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/genericclioptions",
|
|
importpath = "k8s.io/cli-runtime/pkg/genericclioptions",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
"//staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers:go_default_library",
|
|
"//staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource:go_default_library",
|
|
"//staging/src/k8s.io/client-go/discovery:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/clientcmd/api:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/homedir: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",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/cli-runtime/pkg/genericclioptions/printers:all-srcs",
|
|
"//staging/src/k8s.io/cli-runtime/pkg/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 = [
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
],
|
|
)
|