mirror of https://github.com/k3s-io/k3s
67 lines
3.3 KiB
Python
67 lines
3.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"controllermanager.go",
|
|
"core.go",
|
|
],
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/cloud-provider/app",
|
|
importpath = "k8s.io/cloud-provider/app",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/healthz:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/client-go/discovery/cached:go_default_library",
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
"//staging/src/k8s.io/client-go/metadata:go_default_library",
|
|
"//staging/src/k8s.io/client-go/metadata/metadatainformer:go_default_library",
|
|
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/leaderelection:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/leaderelection/resourcelock:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/app/config:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/controllers/node:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/controllers/nodelifecycle:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/controllers/route:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/controllers/service:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider/options:go_default_library",
|
|
"//staging/src/k8s.io/component-base/cli/flag:go_default_library",
|
|
"//staging/src/k8s.io/component-base/cli/globalflag:go_default_library",
|
|
"//staging/src/k8s.io/component-base/configz:go_default_library",
|
|
"//staging/src/k8s.io/component-base/term:go_default_library",
|
|
"//staging/src/k8s.io/component-base/version:go_default_library",
|
|
"//staging/src/k8s.io/component-base/version/verflag:go_default_library",
|
|
"//staging/src/k8s.io/controller-manager/app:go_default_library",
|
|
"//staging/src/k8s.io/controller-manager/pkg/clientbuilder:go_default_library",
|
|
"//staging/src/k8s.io/controller-manager/pkg/informerfactory:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
|
"//vendor/k8s.io/utils/net:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/cloud-provider/app/config:all-srcs",
|
|
"//staging/src/k8s.io/cloud-provider/app/testing:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|