2018-03-06 22:33:18 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"apps.go",
|
|
|
|
"autoscaling.go",
|
|
|
|
"batch.go",
|
|
|
|
"bootstrap.go",
|
|
|
|
"certificates.go",
|
2018-03-06 22:33:18 +00:00
|
|
|
"cloudproviders.go",
|
2018-01-09 18:57:14 +00:00
|
|
|
"controllermanager.go",
|
|
|
|
"core.go",
|
|
|
|
"extensions.go",
|
|
|
|
"import_known_versions.go",
|
|
|
|
"plugins.go",
|
|
|
|
"policy.go",
|
|
|
|
"rbac.go",
|
|
|
|
],
|
|
|
|
importpath = "k8s.io/kubernetes/cmd/kube-controller-manager/app",
|
2018-03-06 22:33:18 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-01-09 18:57:14 +00:00
|
|
|
deps = [
|
2018-03-06 22:33:18 +00:00
|
|
|
"//cmd/controller-manager/app:go_default_library",
|
|
|
|
"//cmd/controller-manager/app/options:go_default_library",
|
|
|
|
"//cmd/kube-controller-manager/app/config:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//cmd/kube-controller-manager/app/options:go_default_library",
|
|
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
|
|
"//pkg/apis/apps/install:go_default_library",
|
|
|
|
"//pkg/apis/authentication/install:go_default_library",
|
|
|
|
"//pkg/apis/authorization/install:go_default_library",
|
|
|
|
"//pkg/apis/autoscaling/install:go_default_library",
|
|
|
|
"//pkg/apis/batch/install:go_default_library",
|
|
|
|
"//pkg/apis/certificates/install:go_default_library",
|
|
|
|
"//pkg/apis/componentconfig:go_default_library",
|
|
|
|
"//pkg/apis/core/install:go_default_library",
|
|
|
|
"//pkg/apis/events/install:go_default_library",
|
|
|
|
"//pkg/apis/extensions/install:go_default_library",
|
|
|
|
"//pkg/apis/policy/install:go_default_library",
|
|
|
|
"//pkg/apis/rbac/install:go_default_library",
|
|
|
|
"//pkg/apis/scheduling/install:go_default_library",
|
|
|
|
"//pkg/apis/settings/install:go_default_library",
|
|
|
|
"//pkg/apis/storage/install:go_default_library",
|
|
|
|
"//pkg/cloudprovider:go_default_library",
|
|
|
|
"//pkg/cloudprovider/providers:go_default_library",
|
|
|
|
"//pkg/controller:go_default_library",
|
|
|
|
"//pkg/controller/bootstrap:go_default_library",
|
|
|
|
"//pkg/controller/certificates/approver:go_default_library",
|
|
|
|
"//pkg/controller/certificates/cleaner:go_default_library",
|
|
|
|
"//pkg/controller/certificates/signer:go_default_library",
|
|
|
|
"//pkg/controller/clusterroleaggregation:go_default_library",
|
|
|
|
"//pkg/controller/cronjob:go_default_library",
|
|
|
|
"//pkg/controller/daemon:go_default_library",
|
|
|
|
"//pkg/controller/deployment:go_default_library",
|
|
|
|
"//pkg/controller/disruption:go_default_library",
|
|
|
|
"//pkg/controller/endpoint:go_default_library",
|
|
|
|
"//pkg/controller/garbagecollector:go_default_library",
|
|
|
|
"//pkg/controller/job:go_default_library",
|
|
|
|
"//pkg/controller/namespace:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/controller/nodeipam:go_default_library",
|
|
|
|
"//pkg/controller/nodeipam/ipam:go_default_library",
|
|
|
|
"//pkg/controller/nodelifecycle:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/controller/podautoscaler:go_default_library",
|
|
|
|
"//pkg/controller/podautoscaler/metrics:go_default_library",
|
|
|
|
"//pkg/controller/podgc:go_default_library",
|
|
|
|
"//pkg/controller/replicaset:go_default_library",
|
|
|
|
"//pkg/controller/replication:go_default_library",
|
|
|
|
"//pkg/controller/resourcequota:go_default_library",
|
|
|
|
"//pkg/controller/route:go_default_library",
|
|
|
|
"//pkg/controller/service:go_default_library",
|
|
|
|
"//pkg/controller/serviceaccount:go_default_library",
|
|
|
|
"//pkg/controller/statefulset:go_default_library",
|
|
|
|
"//pkg/controller/ttl:go_default_library",
|
|
|
|
"//pkg/controller/volume/attachdetach:go_default_library",
|
|
|
|
"//pkg/controller/volume/expand:go_default_library",
|
|
|
|
"//pkg/controller/volume/persistentvolume:go_default_library",
|
|
|
|
"//pkg/controller/volume/pvcprotection:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/controller/volume/pvprotection:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/features:go_default_library",
|
|
|
|
"//pkg/quota/generic:go_default_library",
|
|
|
|
"//pkg/quota/install:go_default_library",
|
|
|
|
"//pkg/serviceaccount:go_default_library",
|
|
|
|
"//pkg/util/configz:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/util/flag:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/util/metrics:go_default_library",
|
|
|
|
"//pkg/version:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/version/verflag:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/volume:go_default_library",
|
|
|
|
"//pkg/volume/aws_ebs:go_default_library",
|
|
|
|
"//pkg/volume/azure_dd:go_default_library",
|
|
|
|
"//pkg/volume/azure_file:go_default_library",
|
|
|
|
"//pkg/volume/cinder:go_default_library",
|
|
|
|
"//pkg/volume/csi:go_default_library",
|
|
|
|
"//pkg/volume/fc:go_default_library",
|
|
|
|
"//pkg/volume/flexvolume:go_default_library",
|
|
|
|
"//pkg/volume/flocker:go_default_library",
|
|
|
|
"//pkg/volume/gce_pd:go_default_library",
|
|
|
|
"//pkg/volume/glusterfs:go_default_library",
|
|
|
|
"//pkg/volume/host_path:go_default_library",
|
|
|
|
"//pkg/volume/iscsi:go_default_library",
|
|
|
|
"//pkg/volume/local:go_default_library",
|
|
|
|
"//pkg/volume/nfs:go_default_library",
|
|
|
|
"//pkg/volume/photon_pd:go_default_library",
|
|
|
|
"//pkg/volume/portworx:go_default_library",
|
|
|
|
"//pkg/volume/quobyte:go_default_library",
|
|
|
|
"//pkg/volume/rbd:go_default_library",
|
|
|
|
"//pkg/volume/scaleio:go_default_library",
|
|
|
|
"//pkg/volume/storageos:go_default_library",
|
|
|
|
"//pkg/volume/util:go_default_library",
|
|
|
|
"//pkg/volume/vsphere_volume:go_default_library",
|
|
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/discovery:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/discovery/cached:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/dynamic:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/informers:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/scale:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/tools/leaderelection:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/tools/leaderelection/resourcelock:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/util/cert:go_default_library",
|
|
|
|
"//vendor/k8s.io/metrics/pkg/client/clientset_generated/clientset/typed/metrics/v1beta1:go_default_library",
|
|
|
|
"//vendor/k8s.io/metrics/pkg/client/custom_metrics:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//vendor/k8s.io/metrics/pkg/client/external_metrics:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["controller_manager_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//cmd/kube-controller-manager/app/config:all-srcs",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//cmd/kube-controller-manager/app/options:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
2018-03-06 22:33:18 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2018-01-09 18:57:14 +00:00
|
|
|
)
|