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.go",
|
|
|
|
"client.go",
|
2020-03-26 21:07:15 +00:00
|
|
|
"crd_finder.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"doc.go",
|
2020-03-26 21:07:15 +00:00
|
|
|
"dry_run_verifier.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"fake.go",
|
|
|
|
"helper.go",
|
|
|
|
"interfaces.go",
|
|
|
|
"mapper.go",
|
2019-12-12 01:27:03 +00:00
|
|
|
"metadata_decoder.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"result.go",
|
|
|
|
"scheme.go",
|
|
|
|
"selector.go",
|
|
|
|
"visitor.go",
|
|
|
|
],
|
2019-04-07 17:07:55 +00:00
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/resource",
|
|
|
|
importpath = "k8s.io/cli-runtime/pkg/resource",
|
2019-01-12 04:58:27 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/yaml:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/cli-runtime/pkg/kustomize:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/client-go/discovery:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/client-go/dynamic:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/golang.org/x/text/encoding/unicode:go_default_library",
|
|
|
|
"//vendor/golang.org/x/text/transform:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//vendor/gopkg.in/yaml.v2:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//vendor/sigs.k8s.io/kustomize/pkg/fs:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"builder_test.go",
|
2020-03-26 21:07:15 +00:00
|
|
|
"crd_finder_test.go",
|
|
|
|
"dry_run_verifier_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"helper_test.go",
|
2019-08-30 18:33:25 +00:00
|
|
|
"scheme_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"visitor_test.go",
|
|
|
|
],
|
|
|
|
data = [
|
|
|
|
"//staging/src/k8s.io/cli-runtime/artifacts:all-srcs",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
2019-08-30 18:33:25 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/rest/fake:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/rest/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/testing:go_default_library",
|
|
|
|
"//vendor/github.com/davecgh/go-spew/spew:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//vendor/k8s.io/kube-openapi/pkg/util/proto/testing:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/sigs.k8s.io/yaml:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|