kubernetes/pkg/apis
Tim Hockin 11a25bfeb6
De-share the Handler struct in core API (#105979)
* De-share the Handler struct in core API

An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.

This never should have been shared.  Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.

In the future I can also see adding lifecycle hooks that don't make
sense as probes.  E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.

* Run update scripts
2021-10-29 13:15:11 -07:00
..
abac generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
admission generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
admissionregistration generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
apiserverinternal generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
apps De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
authentication Merge pull request #104483 from margocrawf/master 2021-09-27 07:33:36 -07:00
authorization generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
autoscaling generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
batch De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
certificates generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
coordination generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
core De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
discovery Merge pull request #99682 from chymy/fix-misspelling 2021-09-05 12:46:28 -07:00
events generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
extensions De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
flowcontrol apf: update apf logic to use v1beta2 2021-09-09 08:28:58 -04:00
imagepolicy generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
networking Propagate conversion errors 2021-09-13 12:04:16 -04:00
node generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
policy psp: remove unused PodSecurityPolicyValidationOptions 2021-10-28 17:25:07 +02:00
rbac rbac: remove AttributeRestriction documentation 2021-09-07 16:45:49 -07:00
scheduling generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
storage generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
OWNERS Set OWNERS of pkg/apis to api-(approvers/reviewers) 2021-05-04 19:33:36 +00:00