Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fakebindings (0.27 sec)

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

    		Resource: "fakepolicies",
    	}
    	fakeBindingGVR := schema.GroupVersionResource{
    		Group:    "policy.example.com",
    		Version:  "v1",
    		Resource: "fakebindings",
    	}
    	fakePolicyGVK := fakePolicyGVR.GroupVersion().WithKind("FakePolicy")
    	fakeBindingGVK := fakeBindingGVR.GroupVersion().WithKind("FakeBinding")
    
    	policySourceTestScheme, err := func() (*runtime.Scheme, error) {
    		scheme := runtime.NewScheme()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go

    	return nil
    }
    
    func (fb *FakeBinding) GetName() string {
    	return fb.Name
    }
    
    func (fb *FakeBinding) GetNamespace() string {
    	return fb.Namespace
    }
    
    func (fb *FakeBinding) GetPolicyName() types.NamespacedName {
    	return types.NamespacedName{
    		Name: fb.PolicyName,
    	}
    }
    
    func (fb *FakeBinding) GetMatchResources() *v1.MatchResources {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			expectedBindings: []*BindingInfo{makeBinding(unboundPVC, pvNode1a), makeBinding(unboundPVC2, pvNode1b)},
    		},
    		"two-unbound-pvcs,order-by-size": {
    			podPVCs:          []*v1.PersistentVolumeClaim{unboundPVC2, unboundPVC},
    			pvs:              []*v1.PersistentVolume{pvNode1a, pvNode1b},
    			expectedBindings: []*BindingInfo{makeBinding(unboundPVC, pvNode1a), makeBinding(unboundPVC2, pvNode1b)},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top