2019-01-12 04:58:27 +00:00
|
|
|
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",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/cli-runtime/pkg/printers:go_default_library",
|
|
|
|
"//staging/src/k8s.io/cli-runtime/pkg/resource:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/client-go/discovery:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/client-go/discovery/cached/disk:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//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",
|
2019-04-07 17:07:55 +00:00
|
|
|
srcs = [":package-srcs"],
|
2019-01-12 04:58:27 +00:00
|
|
|
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",
|
2019-12-12 01:27:03 +00:00
|
|
|
"print_flags_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"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",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|