mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-01 01:12:52 +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
26 lines
625 B
Python
26 lines
625 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["register.go"],
|
|
importpath = "k8s.io/sample-controller/pkg/apis/samplecontroller",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/sample-controller/pkg/apis/samplecontroller/v1alpha1:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|