mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-22 09:52:52 +08:00
ec723b2112
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>. sample-controller: add example CRD controller **What this PR does / why we need it**: Adds a sample-controller example repository fixes #52752 **Special notes for your reviewer**: This is currently based on the sttts:sttts-codegen-scripts branch and should not be merged until that is (ref https://github.com/kubernetes/kubernetes/pull/52186) **Release note**: ``` Add sample-controller repository ``` /cc @sttts @nikhita @colemickens Kubernetes-commit: 9a7800f7d2efb88b397674672ac56f898826cf7c
86 lines
4.2 KiB
Python
86 lines
4.2 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/v1beta1: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"],
|
|
)
|