52baf68d50
Signed-off-by: Michał Żyłowski <michal.zylowski@intel.com>
155 lines
6.6 KiB
Text
155 lines
6.6 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 = [
|
|
"controller.go",
|
|
"doc.go",
|
|
"import_known_versions.go",
|
|
"master.go",
|
|
"services.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//cmd/kube-apiserver/app/options:go_default_library",
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/endpoints:go_default_library",
|
|
"//pkg/api/install:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/apis/apps/install:go_default_library",
|
|
"//pkg/apis/apps/v1beta1:go_default_library",
|
|
"//pkg/apis/authentication/install:go_default_library",
|
|
"//pkg/apis/authentication/v1beta1:go_default_library",
|
|
"//pkg/apis/authorization/install:go_default_library",
|
|
"//pkg/apis/authorization/v1beta1:go_default_library",
|
|
"//pkg/apis/autoscaling/install:go_default_library",
|
|
"//pkg/apis/autoscaling/v1:go_default_library",
|
|
"//pkg/apis/batch/install:go_default_library",
|
|
"//pkg/apis/batch/v1:go_default_library",
|
|
"//pkg/apis/certificates/install:go_default_library",
|
|
"//pkg/apis/certificates/v1beta1:go_default_library",
|
|
"//pkg/apis/componentconfig/install:go_default_library",
|
|
"//pkg/apis/extensions/install:go_default_library",
|
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
|
"//pkg/apis/imagepolicy/install:go_default_library",
|
|
"//pkg/apis/policy/install:go_default_library",
|
|
"//pkg/apis/policy/v1beta1:go_default_library",
|
|
"//pkg/apis/rbac/install:go_default_library",
|
|
"//pkg/apis/rbac/v1alpha1:go_default_library",
|
|
"//pkg/apis/rbac/v1beta1:go_default_library",
|
|
"//pkg/apis/storage/install:go_default_library",
|
|
"//pkg/apis/storage/v1beta1:go_default_library",
|
|
"//pkg/client/clientset_generated/clientset/typed/core/v1:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
|
"//pkg/genericapiserver/registry/generic:go_default_library",
|
|
"//pkg/genericapiserver/registry/generic/registry:go_default_library",
|
|
"//pkg/genericapiserver/server:go_default_library",
|
|
"//pkg/kubelet/client:go_default_library",
|
|
"//pkg/master/thirdparty:go_default_library",
|
|
"//pkg/master/tunneler:go_default_library",
|
|
"//pkg/registry/apps/rest:go_default_library",
|
|
"//pkg/registry/authentication/rest:go_default_library",
|
|
"//pkg/registry/authorization/rest:go_default_library",
|
|
"//pkg/registry/autoscaling/rest:go_default_library",
|
|
"//pkg/registry/batch/rest:go_default_library",
|
|
"//pkg/registry/certificates/rest:go_default_library",
|
|
"//pkg/registry/core/rangeallocation:go_default_library",
|
|
"//pkg/registry/core/rest:go_default_library",
|
|
"//pkg/registry/core/service/ipallocator:go_default_library",
|
|
"//pkg/registry/core/service/ipallocator/controller:go_default_library",
|
|
"//pkg/registry/core/service/portallocator/controller:go_default_library",
|
|
"//pkg/registry/extensions/rest:go_default_library",
|
|
"//pkg/registry/policy/rest:go_default_library",
|
|
"//pkg/registry/rbac/rest:go_default_library",
|
|
"//pkg/registry/storage/rest:go_default_library",
|
|
"//pkg/routes:go_default_library",
|
|
"//pkg/util/async:go_default_library",
|
|
"//pkg/util/intstr:go_default_library",
|
|
"//pkg/util/node:go_default_library",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/prometheus/client_golang/prometheus",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/net",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/wait",
|
|
"//vendor:k8s.io/apiserver/pkg/server/healthz",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"controller_test.go",
|
|
"import_known_versions_test.go",
|
|
"master_openapi_test.go",
|
|
"master_test.go",
|
|
],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/apis/apps:go_default_library",
|
|
"//pkg/apis/apps/v1beta1:go_default_library",
|
|
"//pkg/apis/autoscaling:go_default_library",
|
|
"//pkg/apis/autoscaling/v1:go_default_library",
|
|
"//pkg/apis/batch:go_default_library",
|
|
"//pkg/apis/batch/v1:go_default_library",
|
|
"//pkg/apis/batch/v2alpha1:go_default_library",
|
|
"//pkg/apis/certificates:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
|
"//pkg/apis/rbac:go_default_library",
|
|
"//pkg/client/clientset_generated/clientset/fake:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/fake:go_default_library",
|
|
"//pkg/client/testing/core:go_default_library",
|
|
"//pkg/generated/openapi:go_default_library",
|
|
"//pkg/genericapiserver/server:go_default_library",
|
|
"//pkg/kubelet/client:go_default_library",
|
|
"//pkg/storage/etcd/testing:go_default_library",
|
|
"//pkg/util/intstr:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//vendor:github.com/go-openapi/loads",
|
|
"//vendor:github.com/go-openapi/spec",
|
|
"//vendor:github.com/go-openapi/strfmt",
|
|
"//vendor:github.com/go-openapi/validate",
|
|
"//vendor:github.com/stretchr/testify/assert",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/net",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apimachinery/pkg/version",
|
|
"//vendor:k8s.io/apiserver/pkg/endpoints/request",
|
|
"//vendor:k8s.io/client-go/rest",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/master/ports:all-srcs",
|
|
"//pkg/master/thirdparty:all-srcs",
|
|
"//pkg/master/tunneler:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|