Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetSubresource (0.15 sec)

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

    				Subresource: attr.GetSubresource(),
    				Kind:        attr.GetKind(),
    			}
    			break
    		}
    	}
    	if invocation == nil && h.GetMatchPolicy() != nil && *h.GetMatchPolicy() == v1.Equivalent {
    		attrWithOverride := &attrWithResourceOverride{Attributes: attr}
    		equivalents := o.GetEquivalentResourceMapper().EquivalentResourcesFor(attr.GetResource(), attr.GetSubresource())
    		// honor earlier rules first
    	OuterLoop:
    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/controller/volume/expand/expand_controller_test.go

    				return true, test.pv, nil
    			})
    		}
    		fakeKubeClient.AddReactor("patch", "persistentvolumeclaims", func(action coretesting.Action) (bool, runtime.Object, error) {
    			if action.GetSubresource() == "status" {
    				patchActionaction, _ := action.(coretesting.PatchAction)
    				pvc, err = applyPVCPatch(pvc, patchActionaction.GetPatch())
    				if err != nil {
    					return false, nil, err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top