Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToModelKey (0.2 sec)

  1. pilot/pkg/status/resource.go

    	Generation string
    }
    
    func (r Resource) String() string {
    	return strings.Join([]string{r.Group, r.Version, r.GroupVersionResource.Resource, r.Namespace, r.Name, r.Generation}, "/")
    }
    
    func (r *Resource) ToModelKey() string {
    	// we have a resource here, but model keys use kind.  Use the schema to find the correct kind.
    	found, _ := collections.All.FindByGroupVersionResource(r.GroupVersionResource)
    	return config.Key(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 30 16:13:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top