Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MatchResources (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    )
    
    var _ MatchCriteria = &fakeCriteria{}
    
    type fakeCriteria struct {
    	matchResources v1.MatchResources
    }
    
    func (fc *fakeCriteria) GetMatchResources() v1.MatchResources {
    	return fc.matchResources
    }
    
    func (fc *fakeCriteria) GetParsedNamespaceSelector() (labels.Selector, error) {
    	return metav1.LabelSelectorAsSelector(fc.matchResources.NamespaceSelector)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go

    	if in.MatchResources != nil {
    		in, out := &in.MatchResources, &out.MatchResources
    		*out = new(admissionregistration.MatchResources)
    		if err := Convert_v1alpha1_MatchResources_To_admissionregistration_MatchResources(*in, *out, s); err != nil {
    			return err
    		}
    	} else {
    		out.MatchResources = nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
    func (in *MatchResources) DeepCopy() *MatchResources {
    	if in == nil {
    		return nil
    	}
    	out := new(MatchResources)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    			policy:   &v1.ValidatingAdmissionPolicy{},
    			expected: nil,
    		},
    		{
    			name: "specific",
    			policy: &v1.ValidatingAdmissionPolicy{Spec: v1.ValidatingAdmissionPolicySpec{
    				MatchConstraints: &v1.MatchResources{ResourceRules: []v1.NamedRuleWithOperations{
    					{
    						RuleWithOperations: v1.RuleWithOperations{
    							Rule: v1.Rule{
    								APIGroups:   []string{"apps"},
    								APIVersions: []string{"v1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
    func (in *MatchResources) DeepCopy() *MatchResources {
    	if in == nil {
    		return nil
    	}
    	out := new(MatchResources)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
    func (in *MatchResources) DeepCopy() *MatchResources {
    	if in == nil {
    		return nil
    	}
    	out := new(MatchResources)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
    func (in *MatchResources) DeepCopy() *MatchResources {
    	if in == nil {
    		return nil
    	}
    	out := new(MatchResources)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //
      // Required.
      optional string expression = 2;
    }
    
    // MatchResources decides whether to run the admission control policy on an object based
    // on whether it meets the match criteria.
    // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
    // +structType=atomic
    message MatchResources {
      // NamespaceSelector decides whether to run the admission control policy on an object based
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1alpha1/types.go

    	// Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
    	// +optional
    	MatchResources *MatchResources `json:"matchResources,omitempty" protobuf:"bytes,3,rep,name=matchResources"`
    
    	// validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 20:06:13 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //
      // Required.
      optional string expression = 2;
    }
    
    // MatchResources decides whether to run the admission control policy on an object based
    // on whether it meets the match criteria.
    // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
    // +structType=atomic
    message MatchResources {
      // NamespaceSelector decides whether to run the admission control policy on an object based
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top