pkg/kmeta
Victor Agababov 8a10634b4f Fix the panics in the naming functions. (#556)
currently if the suffix is longer than 31 characters the function would panic.
This fixes that by adding additional checks and trimming. Plus in this case
it will hash the whole string, to ensure uniqueness.

/assign @mattmoor
2019-08-02 14:48:46 -07:00
..
OWNERS Update OWNERS to use OWNERS_ALIASES (#422) 2019-05-29 20:04:33 -07:00
accessor.go Fix the issues pointed out by staticcheck (#541) 2019-07-23 13:13:36 -07:00
accessor_test.go Migrate pkg to use the knative.dev/pkg import path (#489) 2019-06-26 13:02:06 -07:00
doc.go Create a kmeta package for libraries acting on ObjectMeta. (#67) 2018-09-13 10:45:16 -07:00
labels.go Add Generation variants of kmeta/labels.go (#117) 2018-10-08 02:14:25 -07:00
labels_test.go Add Generation variants of kmeta/labels.go (#117) 2018-10-08 02:14:25 -07:00
names.go Fix the panics in the naming functions. (#556) 2019-08-02 14:48:46 -07:00
names_test.go Fix the panics in the naming functions. (#556) 2019-08-02 14:48:46 -07:00
owner_references.go Rename kmeta.NewOwnerReference to NewControllerRef (#70) 2018-09-13 15:01:16 -07:00
owner_references_test.go Rename kmeta.NewOwnerReference to NewControllerRef (#70) 2018-09-13 15:01:16 -07:00
ownerrefable_accessor.go add OwnerRefableAccessor into kmeta (#535) 2019-07-18 17:15:29 -07:00
ownerrefable_accessor_test.go add OwnerRefableAccessor into kmeta (#535) 2019-07-18 17:15:29 -07:00