mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
add to-do comments
This commit is contained in:
parent
b59ab9a84a
commit
f5d9b039ec
1 changed files with 2 additions and 0 deletions
|
@ -300,6 +300,8 @@ func (c *Client) getGVR(resource string) schema.GroupVersionResource {
|
|||
return emptyGVR
|
||||
}
|
||||
|
||||
//To-do: measure performance
|
||||
//To-do: evaluate DefaultRESTMapper to fetch kind->resource mapping
|
||||
func (c *Client) getGVRFromKind(kind string) schema.GroupVersionResource {
|
||||
emptyGVR := schema.GroupVersionResource{}
|
||||
serverresources, err := c.cachedClient.ServerPreferredResources()
|
||||
|
|
Loading…
Add table
Reference in a new issue