Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 171 for verb2 (0.05 sec)

  1. pkg/apis/flowcontrol/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
    	*out = *in
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.NonResourceURLs != nil {
    		in, out := &in.NonResourceURLs, &out.NonResourceURLs
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/flowcontrol/v1beta2/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
    	*out = *in
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.NonResourceURLs != nil {
    		in, out := &in.NonResourceURLs, &out.NonResourceURLs
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/flowcontrol/v1beta3/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
    	*out = *in
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.NonResourceURLs != nil {
    		in, out := &in.NonResourceURLs, &out.NonResourceURLs
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/flowcontrol/v1beta1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
    	*out = *in
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.NonResourceURLs != nil {
    		in, out := &in.NonResourceURLs, &out.NonResourceURLs
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    			gvr := schema.GroupVersionResource{Group: gv.Group, Version: gv.Version, Resource: r.Name}
    			verbs := sets.NewString([]string(r.Verbs)...)
    
    			if !verbs.Has("delete") {
    				logger.V(6).Info("Skipping resource because it cannot be deleted", "resource", gvr)
    			}
    
    			for _, op := range []operation{operationList, operationDeleteCollection} {
    				if !verbs.Has(string(op)) {
    					d.opCache.setNotSupported(operationKey{operation: op, gvr: gvr})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
    	*out = *in
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.NonResourceURLs != nil {
    		in, out := &in.NonResourceURLs, &out.NonResourceURLs
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  7. pkg/controller/resourcequota/resource_quota_controller_test.go

    			APIResources: []metav1.APIResource{
    				{Name: "pods", Namespaced: true, Kind: "Pod", Verbs: metav1.Verbs{"create", "delete", "list", "watch"}},
    			},
    		},
    		{
    			GroupVersion: "apps/v1",
    			APIResources: []metav1.APIResource{
    				{Name: "deployments", Namespaced: true, Kind: "Deployment", Verbs: metav1.Verbs{"create", "delete", "list", "watch"}},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  8. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    type fakeAuthorizer struct {
    	t           *testing.T
    	verb        string
    	allowedName string
    	decision    authorizer.Decision
    	err         error
    }
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	if f.err != nil {
    		return f.decision, "forced error", f.err
    	}
    	if a.GetVerb() != f.verb {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    			case "noverbs":
    				if r.Verbs == nil {
    					t.Errorf("[%d] unexpected nil verbs slice. Expected: []string{}", i)
    				}
    				if got, expected := sets.NewString([]string(r.Verbs)...), sets.NewString(); !got.Equal(expected) {
    					t.Errorf("[%d] unexpected verbs for resource %s/%s: got=%v expected=%v", i, resources.GroupVersion, r.Name, got, expected)
    				}
    			}
    		}
    	}
    }
    
    func TestPrepareRun(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/testing/testing.go

    		return nil
    	}
    	logger := klog.FromContext(ctx)
    	for i, expected := range r.errors {
    		logger.V(4).Info("Trying to match resource verb", "resource", action.GetResource(), "verb", action.GetVerb(), "expectedResource", expected.Resource, "expectedVerb", expected.Verb)
    		if action.Matches(expected.Verb, expected.Resource) {
    			// That's the action we're waiting for, remove it from injectedErrors
    			r.errors = append(r.errors[:i], r.errors[i+1:]...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top