52baf68d50
Signed-off-by: Michał Żyłowski <michal.zylowski@intel.com>
132 lines
5 KiB
Text
132 lines
5 KiB
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"cached_discovery.go",
|
|
"clientcache.go",
|
|
"factory.go",
|
|
"factory_builder.go",
|
|
"factory_client_access.go",
|
|
"factory_object_mapping.go",
|
|
"helpers.go",
|
|
"printing.go",
|
|
"shortcut_restmapper.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//federation/apis/federation:go_default_library",
|
|
"//federation/client/clientset_generated/federation_internalclientset:go_default_library",
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/service:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/api/validation:go_default_library",
|
|
"//pkg/apis/apps:go_default_library",
|
|
"//pkg/apis/batch:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
|
"//pkg/client/typed/discovery:go_default_library",
|
|
"//pkg/client/typed/dynamic:go_default_library",
|
|
"//pkg/client/unversioned:go_default_library",
|
|
"//pkg/controller:go_default_library",
|
|
"//pkg/kubectl:go_default_library",
|
|
"//pkg/kubectl/resource:go_default_library",
|
|
"//pkg/registry/extensions/thirdpartyresourcedata:go_default_library",
|
|
"//pkg/util/exec:go_default_library",
|
|
"//pkg/util/flag:go_default_library",
|
|
"//pkg/util/strategicpatch:go_default_library",
|
|
"//vendor:github.com/emicklei/go-restful/swagger",
|
|
"//vendor:github.com/evanphx/json-patch",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/spf13/cobra",
|
|
"//vendor:github.com/spf13/pflag",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
|
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/serializer/json",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apimachinery/pkg/version",
|
|
"//vendor:k8s.io/apimachinery/pkg/watch",
|
|
"//vendor:k8s.io/client-go/rest",
|
|
"//vendor:k8s.io/client-go/tools/clientcmd",
|
|
"//vendor:k8s.io/client-go/util/homedir",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"cached_discovery_test.go",
|
|
"factory_test.go",
|
|
"helpers_test.go",
|
|
"shortcut_restmapper_test.go",
|
|
],
|
|
data = [
|
|
"//api/swagger-spec",
|
|
],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/api/testing:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/api/validation:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/fake:go_default_library",
|
|
"//pkg/client/restclient/fake:go_default_library",
|
|
"//pkg/client/testing/core:go_default_library",
|
|
"//pkg/client/typed/discovery:go_default_library",
|
|
"//pkg/controller:go_default_library",
|
|
"//pkg/kubectl:go_default_library",
|
|
"//pkg/kubectl/resource:go_default_library",
|
|
"//pkg/util/exec:go_default_library",
|
|
"//pkg/util/flag:go_default_library",
|
|
"//vendor:github.com/emicklei/go-restful/swagger",
|
|
"//vendor:github.com/stretchr/testify/assert",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/validation/field",
|
|
"//vendor:k8s.io/apimachinery/pkg/version",
|
|
"//vendor:k8s.io/apimachinery/pkg/watch",
|
|
"//vendor:k8s.io/client-go/rest",
|
|
"//vendor:k8s.io/client-go/tools/clientcmd",
|
|
"//vendor:k8s.io/client-go/tools/clientcmd/api",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubectl/cmd/util/editor:all-srcs",
|
|
"//pkg/kubectl/cmd/util/jsonmerge:all-srcs",
|
|
"//pkg/kubectl/cmd/util/sanity:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|