pkg/apis
Francesco Guardiani 192b0c9d6e
Add KReference.Group field and ResolveGroup function (#2127)
* Add Group field and ResolveGroup function

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Remove core special case

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Copyright

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Added validation code

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Fix comment

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Add omitempty

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Moved ResolveGroup code to kref
Made ResolveGroup a util method, more than an instance method

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* New type KReferenceResolver

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>

* Added +optional as suggested

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2021-06-15 02:27:20 -07:00
..
duck Add KReference.Group field and ResolveGroup function (#2127) 2021-06-15 02:27:20 -07:00
test Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
testing Format copyright headers to match boilerplate (#1962) 2020-12-15 02:12:43 -08:00
OWNERS Update OWNERS_ALIASES to match autogen in community (#2078) 2021-04-08 07:42:51 -07:00
condition_set.go Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
condition_set_impl_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
condition_set_test.go Add MarkTrueWithReason function to ConditionManager (#1148) 2020-03-19 09:36:06 -07:00
condition_types.go Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
condition_types_test.go Nil check conditions (#1112) 2020-02-20 11:20:06 -08:00
contexts.go Add IsWithinParent (#1765) 2020-10-02 12:33:33 -07:00
contexts_test.go Add IsWithinParent (#1765) 2020-10-02 12:33:33 -07:00
convert.go Fixed #1057 - Rename ConvertUp/Down to ConvertTo/From (#1122) 2020-02-24 09:44:08 -08:00
convert_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
depcheck_test.go Add a list of known-heavy things, check a few places. (#1860) 2020-10-27 16:38:34 -07:00
deprecated.go Fix revive related linting issues (#2131) 2021-05-26 01:10:28 -07:00
deprecated_test.go Align linters with serving (enables stylecheck and asciicheck) (#1738) 2020-09-23 07:37:40 -07:00
doc.go Add deepcopy-gen for VolatileTime. (#42) 2018-08-09 16:32:03 -07:00
field_error.go Spelling (#1797) 2020-10-18 14:22:57 -07:00
field_error_test.go Apply the cleanup to the pkg (#1776) 2020-10-05 21:41:20 -07:00
interfaces.go Fixed #1057 - Rename ConvertUp/Down to ConvertTo/From (#1122) 2020-02-24 09:44:08 -08:00
kind2resource.go Create a common way for turning GVK into GVR. (#84) 2018-09-21 14:07:21 -07:00
kind2resource_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
metadata_validation.go Add validation for creator and lastModifier annotation (#539) 2019-07-28 21:51:04 -07:00
metadata_validation_test.go take 2 (#1755) 2020-09-29 14:10:29 -07:00
url.go Provide an semantic equality func for apis.URL (#987) 2020-01-10 10:25:57 -08:00
url_test.go Final Json -> JSON process (#1849) 2020-10-26 16:25:41 -07:00
volatile_time.go Make VolatileTime compatible with controller-gen (#2104) 2021-04-26 03:14:39 -07:00
volatile_time_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00
zz_generated.deepcopy.go update boilerplate date (#2134) 2021-05-28 13:21:29 -07:00