mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
122 lines
5.3 KiB
Python
122 lines
5.3 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"history_test.go",
|
|
"rollback_test.go",
|
|
"rolling_updater_test.go",
|
|
"rollout_status_test.go",
|
|
"scale_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/kubectl/scheme:go_default_library",
|
|
"//pkg/kubectl/util:go_default_library",
|
|
"//staging/src/k8s.io/api/apps/v1:go_default_library",
|
|
"//staging/src/k8s.io/api/autoscaling/v1: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/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes/fake:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest/fake:go_default_library",
|
|
"//staging/src/k8s.io/client-go/scale:go_default_library",
|
|
"//staging/src/k8s.io/client-go/scale/fake:go_default_library",
|
|
"//staging/src/k8s.io/client-go/testing:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"apply.go",
|
|
"conditions.go",
|
|
"doc.go",
|
|
"history.go",
|
|
"interfaces.go",
|
|
"rollback.go",
|
|
"rolling_updater.go",
|
|
"rollout_status.go",
|
|
"scale.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubectl",
|
|
deps = [
|
|
"//pkg/kubectl/apps:go_default_library",
|
|
"//pkg/kubectl/describe/versioned:go_default_library",
|
|
"//pkg/kubectl/scheme:go_default_library",
|
|
"//pkg/kubectl/util:go_default_library",
|
|
"//pkg/kubectl/util/deployment:go_default_library",
|
|
"//pkg/kubectl/util/podutils:go_default_library",
|
|
"//pkg/kubectl/util/slice:go_default_library",
|
|
"//staging/src/k8s.io/api/apps/v1:go_default_library",
|
|
"//staging/src/k8s.io/api/autoscaling/v1:go_default_library",
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/api/extensions/v1beta1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch: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/apps/v1:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/client-go/scale:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/integer:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/retry:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubectl/apply:all-srcs",
|
|
"//pkg/kubectl/apps:all-srcs",
|
|
"//pkg/kubectl/cmd:all-srcs",
|
|
"//pkg/kubectl/describe:all-srcs",
|
|
"//pkg/kubectl/explain:all-srcs",
|
|
"//pkg/kubectl/generate:all-srcs",
|
|
"//pkg/kubectl/generated:all-srcs",
|
|
"//pkg/kubectl/metricsutil:all-srcs",
|
|
"//pkg/kubectl/polymorphichelpers:all-srcs",
|
|
"//pkg/kubectl/proxy:all-srcs",
|
|
"//pkg/kubectl/scheme:all-srcs",
|
|
"//pkg/kubectl/util:all-srcs",
|
|
"//pkg/kubectl/validation:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|