2018-01-09 18:57:14 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-11-26 18:23:56 +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 = [
|
|
|
|
"configsync.go",
|
|
|
|
"controller.go",
|
|
|
|
"watch.go",
|
|
|
|
],
|
|
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/kubeletconfig",
|
|
|
|
deps = [
|
2018-11-26 18:23:56 +00:00
|
|
|
"//pkg/kubelet/apis/config:go_default_library",
|
|
|
|
"//pkg/kubelet/apis/config/validation:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/kubelet/kubeletconfig/checkpoint:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/checkpoint/store:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/status:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/log:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/panic:go_default_library",
|
|
|
|
"//pkg/util/filesystem:go_default_library",
|
2018-11-26 18:23:56 +00:00
|
|
|
"//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/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
|
|
|
|
"//vendor/k8s.io/klog: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",
|
|
|
|
"//pkg/kubelet/kubeletconfig/checkpoint:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/configfiles:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/status:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/codec:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/equal:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/files:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/log:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/panic:all-srcs",
|
|
|
|
"//pkg/kubelet/kubeletconfig/util/test:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|
2018-11-26 18:23:56 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["controller_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/kubelet/kubeletconfig/checkpoint:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/checkpoint/store:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig/status:go_default_library",
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
],
|
|
|
|
)
|