mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-11 00:40:23 +00:00
69 lines
2.9 KiB
Python
69 lines
2.9 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["setters.go"],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/nodestatus",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/apis/core/v1/helper:go_default_library",
|
|
"//pkg/features:go_default_library",
|
|
"//pkg/kubelet/apis:go_default_library",
|
|
"//pkg/kubelet/cadvisor:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/events:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/cloud-provider:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["setters_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/cloudprovider/providers/fake:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/container/testing:go_default_library",
|
|
"//pkg/kubelet/events:go_default_library",
|
|
"//pkg/kubelet/util/sliceutils:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//pkg/volume/testing:go_default_library",
|
|
"//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/api/resource:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/rand:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/require:go_default_library",
|
|
],
|
|
)
|