kuryr-kubernetes/kuryr_kubernetes/tests
Roman Dobosz e3ff9547a6 Added function for figure out link for the resource.
Because Kubernetes will stop propagating metadata.selLink field in
release 1.20 and it will be removed in release 1.21, we need to adapt
and calculate selfLink equivalent by ourselves.

In this patch new function is introduced, which will return the path for
provided resource.

Also, we need to deal with list of resources, since for some reason CRs
do have information regarding apiVersion and the kind, while as for core
resources the apiVersion is only on top of the list object, kind is
something like *List, and object within 'items' are without either
apiVersion nor kind.

Implements: blueprint selflink
Change-Id: I721a46ea0379382f7eb2e13c59bd193314f37e7f
2021-01-07 10:41:01 +01:00
..
unit Added function for figure out link for the resource. 2021-01-07 10:41:01 +01:00
__init__.py cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
base.py Prevent pyroute2.IPDB threads leaking 2017-11-17 12:30:54 +01:00
fake.py Resolve issues with object races. 2020-11-16 18:52:46 +01:00