mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-21 09:22:50 +08:00
00e875e461
sample-controller: add API types sample-controller: regenerate files sample-controller: add implementation sample-controller: update bazel sample-controller: update make-rules and cache_go_dirs sample-controller: Set noStatus tag. Remove openapi-gen tag. sample-controller: add deletion tombstone handling logic sample-controller: update README, remove use of reflect in UpdateFuncs sample-controller: add OWNERS file sample-controller: add LICENSE Kubernetes-commit: 740afa0e65bf44a95752fb863017a7cf14b476ad
28 lines
811 B
Python
28 lines
811 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["factory_interfaces.go"],
|
|
importpath = "k8s.io/sample-controller/pkg/client/informers/externalversions/internalinterfaces",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/cache:go_default_library",
|
|
"//vendor/k8s.io/sample-controller/pkg/client/clientset/versioned: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"],
|
|
)
|