Tim Hockin
b0e4f83017
Convert sample-controller to new codegen
...
Kubernetes-commit: e368f1b25bf52f4f48946b8a93ecad63b4bca3ad
2023-03-12 17:15:35 -07:00
Tim Hockin
04f11f30c4
Codegen: subprojects: clean up verify scripts
...
They all run successfully.
Kubernetes-commit: 357bfbc43643c956782e1ca5b7923a20338fba29
2023-03-05 11:33:45 -08:00
Tim Hockin
d823e38114
Cleanup codegen subproject scripts
...
Mostly really small things like linewraps and quoting.
Kubernetes-commit: 0cba4a197d07fc86292f3c029a8419e358cf0271
2022-10-09 11:56:03 -07:00
Stephen Augustus
acf6e5207b
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Kubernetes-commit: 481cf6fbe753b9eb2a47ced179211206b0a99540
2021-08-12 17:13:11 -04:00
Nikhita Raghunath
4d46ec53ca
Fix scripts to not rely on codegen scripts being executable
...
If someone doesn't have code-generator in their GOPATH, they'll need to
run `go mod vendor` to populate the vendor directory with the code-generator
repo (it is required by `hack/tools.go`).
However, `go mod vendor` does not mark scripts as executable which leads to a
`Permission denied` error while trying to run `update-codegen.sh` in staging repos.
So fix scripts to not rely on codegen scripts being executable.
Kubernetes-commit: 391da79abd7a7af1cfab04de35daba7cd58c4c80
2019-06-16 22:00:57 +05:30
Jordan Liggitt
5a1e099fb5
Add staging tools.go imports
...
Kubernetes-commit: 579c0560a280eae60d245cb3a30b8680270590d9
2019-03-22 17:55:40 -04:00
Dr. Stefan Schimanski
8f7a02cc01
sample-controller: generate into pkg/generated package
...
Kubernetes-commit: 4f0e9467b96b88e8ec3b7bd8593700e99634d007
2019-02-15 13:09:16 +01:00
danielqsj
7ec2c1043b
fix shellcheck in sample-controller
...
Kubernetes-commit: 078115a604fb4e89123b4a4e12530fd823abeb88
2019-01-23 20:56:25 +08:00
Matthias Bertschy
28972b75db
Update all script to use /usr/bin/env bash in shebang
...
Kubernetes-commit: 9b15af19b22e91284eeb89827b2091caaec25bf6
2018-04-16 18:31:44 +02:00
fisherxu
2f326ff345
add boilerplate.generatego.txt and let all code-generators use it
...
remove YEAR field in boilerplate under staging
add Do Not Edit for types_swagger_doc and add apiextensions-apiserver's example in codegen.sh
Kubernetes-commit: 32319d6ef768db638a93c753901c08b15624e0d2
2018-01-22 20:37:37 +08:00
Nikhita Raghunath
9861cadad3
staging: add boilerplate header
...
Kubernetes-commit: c7d67ad1ee412b2ebe906f21aa900dbdfc4ce5da
2018-02-13 16:50:05 +05:30
James Munnelly
00e875e461
Add sample CustomResourceDefinition controller
...
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
2017-10-09 19:19:34 +01:00