pkg/webhook
Matt Moore c15d7c8f22 Eliminate custom methods from GenericCRD (#78)
* Prune the GenericCRD spec to what is used.

Encapsulate our change detection slightly.

* Support common spec mutations via duck typing.

This adds support for performing common mutations to objects via duck types and JSON patching.

Fixes: https://github.com/knative/pkg/issues/76

* Eliminate getSpecJSON thru schemaless duck typing.

This leverages a one-off trick to get the JSON of the spec field from arbitrary types.
2018-09-18 14:25:19 -07:00
..
OWNERS Pull the webhook from `knative/serving` into `knative/pkg`. (#23) 2018-07-27 19:03:36 -07:00
certs.go Pull the webhook from `knative/serving` into `knative/pkg`. (#23) 2018-07-27 19:03:36 -07:00
certs_test.go Pull the webhook from `knative/serving` into `knative/pkg`. (#23) 2018-07-27 19:03:36 -07:00
helper_test.go Pull the webhook from `knative/serving` into `knative/pkg`. (#23) 2018-07-27 19:03:36 -07:00
webhook.go Eliminate custom methods from GenericCRD (#78) 2018-09-18 14:25:19 -07:00
webhook_integration_test.go Eliminate custom methods from GenericCRD (#78) 2018-09-18 14:25:19 -07:00
webhook_test.go Eliminate custom methods from GenericCRD (#78) 2018-09-18 14:25:19 -07:00