Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 72 of 72 for set_kind (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    		m := rules.Matcher{Rule: r, Attr: attr}
    		if m.Matches() {
    			invocation = &WebhookInvocation{
    				Webhook:     h,
    				Resource:    attr.GetResource(),
    				Subresource: attr.GetSubresource(),
    				Kind:        attr.GetKind(),
    			}
    			break
    		}
    	}
    	if invocation == nil && h.GetMatchPolicy() != nil && *h.GetMatchPolicy() == v1.Equivalent {
    		attrWithOverride := &attrWithResourceOverride{Attributes: attr}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pkg/kube/controllers/common.go

    	gv, err := schema.ParseGroupVersion(u.GetAPIVersion())
    	if err != nil {
    		return res, err
    	}
    
    	gk := config.GroupVersionKind{
    		Group:   gv.Group,
    		Version: gv.Version,
    		Kind:    u.GetKind(),
    	}
    	found, ok := gvk.ToGVR(gk)
    	if !ok {
    		return res, fmt.Errorf("unknown gvk: %v", gk)
    	}
    	return found, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top