Patrick Ohly
8a908e0c0b
remove import doc comments
...
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:
- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.
This commit was generated with
sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')
Everything was included, except for
package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".
2024-12-02 16:59:34 +01:00
Joe Betz
2595aa1309
generate
2024-09-03 14:26:26 -04:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
TommyStarK
c242e647ae
pkg/apis: Replace deprecated pointer function
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-01-08 13:14:37 +01:00
HaoJie Liu
66205bb313
Remove redundant variable definitions in apis/autoscaling
...
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com >
2022-07-15 14:03:59 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Jordan Liggitt
87a4e082ac
Change defaulter-gen input to package path
2021-08-14 11:00:18 -04:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Arjun Naik
0fec7b0f7e
Added functionality and API for pod autoscaling based on container resources
...
Signed-off-by: Arjun Naik <anaik@redhat.com >
2020-10-21 21:10:05 +02:00
HARISH KUNA
79f3f6e9b1
Test dropped round-trip annotations in HPA conversion
2020-04-08 11:16:15 -04:00
Jordan Liggitt
eb69ac30da
Drop round-trip annotations in HPA conversion
2020-04-08 11:16:15 -04:00
Arjun Naik
8ab226263a
Adds tests
...
Signed-off-by: Arjun Naik <arjun@arjunnaik.in >
2019-12-10 18:09:20 +01:00
Ivan Glushkov
ac23d55d90
Generates boilerplate code
2019-12-10 20:38:09 +04:00
Ivan Glushkov
27ffe439b6
Adds the algorithm implementation for the Configurable HPA
2019-12-10 20:37:33 +04:00
Ivan Glushkov
5c70cda6e5
Adds validation rules and proper defaults
2019-12-10 20:37:19 +04:00
wojtekt
90c9bad944
Autogenerated
2019-11-08 14:44:05 +01:00
wojtekt
8def73aac8
Correctly autogenerate conversions for autoscaling v2beta2
2019-11-08 14:42:16 +01:00
Mike Dame
77d7f9cfa2
Generate files and modifications for autoscaling/v2beta2 and custom_metrics/v1beta2
2018-08-27 11:07:53 -04:00
Mike Dame
5d1ee1640b
Autoscaling v2beta2 and custom metrics v1beta2 APIs
2018-08-27 11:07:52 -04:00