Commit Graph

18 Commits

Author SHA1 Message Date
Matt Moore fdf2fdcd93 Move the test resource out of `./webhook`. (#32)
This is so that other things can more naturally write tests using this same test resource.
2018-07-31 16:02:37 -07:00
Shashwathi bba99e266c Use fallback named logger (#30) 2018-07-31 14:19:37 -07:00
Shashwathi 9a6f5abda8 Use more verbose error msg (#31) 2018-07-31 09:38:37 -07:00
Yanwei Guo 94bc05ad25 Add yanweiguo as owner of logging directory (#29) 2018-07-30 21:34:37 -07:00
Matt Moore 484160f313 Set up issue and PR templates for pkg. (#28)
Fixes: https://github.com/knative/pkg/issues/10
2018-07-30 13:09:36 -07:00
Matt Moore d6c701b0b1 Copy pkg/signals verbatim from Serving. (#25) 2018-07-30 13:05:36 -07:00
Matt Moore 03fb14296d Make the fields of the AdmissionController public. (#24) 2018-07-27 21:27:36 -07:00
Matt Moore 4d4c00734e Pull the webhook from `knative/serving` into `knative/pkg`. (#23)
This pulls the Knative webhook logic (oriented around the interfaces in `knative/pkg/apis`) into `knative/pkg`.

The code is largely copied as-is, with `keep.go` excluded.  The main changes are to the test code, which in `knative/serving` still operate in terms of the serving types.

Fixes: https://github.com/knative/pkg/issues/9
2018-07-27 19:03:36 -07:00
Matt Moore 9d1975b29f Drop the fixed list of `knative/serving` components from logging. (#22) 2018-07-27 10:14:36 -07:00
Matt Moore 8b7b2d7cfb Move the logging packages from serving into pkg. (#21) 2018-07-27 09:53:35 -07:00
Adriano Cunha 16665d8163 Initial set of files for //test (#18)
* Initial set of files for //test

Currently there are no tests, but this will enable finishing setup Prow.

* Add build and unit tests

* Update README with instruction on how to run the unit tests
2018-07-26 16:46:35 -07:00
Matt Moore 84f0a719d7 Add comments to exported error helpers. (#20)
Noticed via the go report!
2018-07-26 16:40:35 -07:00
Matt Moore 63b563207a Add "godoc" and "go report" badges (#19) 2018-07-26 16:39:37 -07:00
Matt Moore 945c05cc41
Bring in the API utilities from `pkg/apis/serving/v1alpha1` used for validation and defaulting in the webhook. (#13)
Fixes: https://github.com/knative/pkg/issues/12
2018-07-26 12:14:57 -07:00
Matt Moore f8e84c0d02
Copy `pkg/configmap` over from `knative/serving`. (#11) 2018-07-25 14:56:29 -07:00
Matt Moore 4e28a4ae07
Copy over some of the core markdown from serving. (#2)
Editted for content.
2018-07-25 10:44:49 -07:00
Matt Moore 198743205e
Add a top-level OWNERS file to pkg. (#6) 2018-07-25 10:43:10 -07:00
DeWitt Clinton 4dbceadaee
Initial commit 2018-07-25 10:16:04 -07:00