Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for paramRef (0.11 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go

    	ParameterNotFoundAction *v1beta1.ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty"`
    }
    
    // ParamRefApplyConfiguration constructs an declarative configuration of the ParamRef type for use with
    // apply.
    func ParamRef() *ParamRefApplyConfiguration {
    	return &ParamRefApplyConfiguration{}
    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go

    	ParameterNotFoundAction *admissionregistrationv1.ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty"`
    }
    
    // ParamRefApplyConfiguration constructs an declarative configuration of the ParamRef type for use with
    // apply.
    func ParamRef() *ParamRefApplyConfiguration {
    	return &ParamRefApplyConfiguration{}
    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go

    	ParameterNotFoundAction *v1alpha1.ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty"`
    }
    
    // ParamRefApplyConfiguration constructs an declarative configuration of the ParamRef type for use with
    // apply.
    func ParamRef() *ParamRefApplyConfiguration {
    	return &ParamRefApplyConfiguration{}
    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz.go

    			}
    		}
    	}
    
    	var attrs authorizer.AttributesRecord
    
    	paramRef := binding.Spec.ParamRef
    	verb := "get"
    
    	if len(paramRef.Name) == 0 {
    		verb = "list"
    	}
    
    	attrs = authorizer.AttributesRecord{
    		User:            user,
    		Verb:            verb,
    		ResourceRequest: true,
    		Name:            paramRef.Name,
    		Namespace:       paramRef.Namespace, // if empty, no namespace indicates get across all namespaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 12:19:03 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    	case len(paramRef.Name) > 0:
    		if paramRef.Selector != nil {
    			// This should be validated, but just in case.
    			return nil, fmt.Errorf("paramRef.name and paramRef.selector are mutually exclusive")
    		}
    
    		switch param, err := paramStore.Get(paramRef.Name); {
    		case err == nil:
    			params = []runtime.Object{param}
    		case apierrors.IsNotFound(err):
    			// Param not yet available. User may need to wait a bit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    			continue
    		} else if len(paramRef.Name) > 0 && p.GetName() != paramRef.Name {
    			continue
    		} else if len(paramRef.Namespace) > 0 && p.GetNamespace() != paramRef.Namespace {
    			continue
    		} else if !paramIsClusterScoped && len(paramRef.Namespace) == 0 && p.GetNamespace() != v1.NamespaceDefault {
    			continue
    		}
    
    		if paramRef.Selector != nil {
    			ls := p.GetLabels()
    			matched := true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/validatingadmissionpolicybinding/strategy_test.go

    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "foo",
    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Name:                    "replica-limit-test.example.com",
    					ParameterNotFoundAction: &denyAction,
    				},
    				ValidationActions: []admissionregistration.ValidationAction{admissionregistration.Deny},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go

    // with apply.
    type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct {
    	PolicyName        *string                                    `json:"policyName,omitempty"`
    	ParamRef          *ParamRefApplyConfiguration                `json:"paramRef,omitempty"`
    	MatchResources    *MatchResourcesApplyConfiguration          `json:"matchResources,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "foo",
    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Name:                    "replica-limit-test.example.com",
    					ParameterNotFoundAction: &denyAction,
    				},
    				ValidationActions: []admissionregistration.ValidationAction{admissionregistration.Deny},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1alpha1.ParamRef)(nil), (*admissionregistration.ParamRef)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha1_ParamRef_To_admissionregistration_ParamRef(a.(*v1alpha1.ParamRef), b.(*admissionregistration.ParamRef), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 46.6K bytes
    - Viewed (0)
Back to top