mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-22 18:02:51 +08:00
5b4ab70a3f
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Introduce new `VolumeAttachment` API Object **What this PR does / why we need it**: Introduce a new `VolumeAttachment` API Object. This object will be used by the CSI volume plugin to enable external attachers (see design [here](https://github.com/kubernetes/community/pull/1258). In the future, existing volume plugins can be refactored to use this object as well. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: Part of issue https://github.com/kubernetes/features/issues/178 **Special notes for your reviewer**: None **Release note**: ```release-note NONE ``` Kubernetes-commit: ebe8ea73fd1a961779242dfbb629befa153e96fc
88 lines
4.3 KiB
Python
88 lines
4.3 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"factory.go",
|
|
"generic.go",
|
|
],
|
|
importpath = "k8s.io/client-go/informers",
|
|
deps = [
|
|
"//vendor/k8s.io/api/admissionregistration/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/apps/v1:go_default_library",
|
|
"//vendor/k8s.io/api/apps/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/apps/v1beta2:go_default_library",
|
|
"//vendor/k8s.io/api/autoscaling/v1:go_default_library",
|
|
"//vendor/k8s.io/api/autoscaling/v2beta1:go_default_library",
|
|
"//vendor/k8s.io/api/batch/v1:go_default_library",
|
|
"//vendor/k8s.io/api/batch/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/batch/v2alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/certificates/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/api/extensions/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/networking/v1:go_default_library",
|
|
"//vendor/k8s.io/api/policy/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/rbac/v1:go_default_library",
|
|
"//vendor/k8s.io/api/rbac/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/rbac/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/api/scheduling/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/settings/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/storage/v1:go_default_library",
|
|
"//vendor/k8s.io/api/storage/v1alpha1:go_default_library",
|
|
"//vendor/k8s.io/api/storage/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/admissionregistration:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/apps:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/autoscaling:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/batch:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/certificates:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/core:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/extensions:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/internalinterfaces:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/networking:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/policy:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/rbac:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/scheduling:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/settings:go_default_library",
|
|
"//vendor/k8s.io/client-go/informers/storage:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/cache: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/client-go/informers/admissionregistration:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/apps:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/autoscaling:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/batch:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/certificates:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/core:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/extensions:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/internalinterfaces:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/networking:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/policy:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/rbac:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/scheduling:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/settings:all-srcs",
|
|
"//staging/src/k8s.io/client-go/informers/storage:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|