Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for VersionedParams (0.23 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	result = &v1.CustomResourceDefinition{}
    	err = c.client.Get().
    		Resource("customresourcedefinitions").
    		Name(name).
    		VersionedParams(&options, scheme.ParameterCodec).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // List takes label and field selectors, and returns the list of CustomResourceDefinitions that match those selectors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	result = &v1beta1.CustomResourceDefinition{}
    	err = c.client.Get().
    		Resource("customresourcedefinitions").
    		Name(name).
    		VersionedParams(&options, scheme.ParameterCodec).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // List takes label and field selectors, and returns the list of CustomResourceDefinitions that match those selectors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	result = &v1.Example{}
    	err = c.client.Get().
    		Namespace(c.ns).
    		Resource("examples").
    		Name(name).
    		VersionedParams(&options, scheme.ParameterCodec).
    		Do(ctx).
    		Into(result)
    	return
    }
    
    // List takes label and field selectors, and returns the list of Examples that match those selectors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	matchResource schema.GroupVersionResource,
    	versionedAttr *admission.VersionedAttributes,
    	versionedParams runtime.Object,
    	namespace *v1.Namespace,
    	runtimeCELCostBudget int64,
    	authz authorizer.Authorizer,
    ) validating.ValidateResult {
    	return f(
    		ctx,
    		matchResource,
    		versionedAttr,
    		versionedParams,
    		namespace,
    		runtimeCELCostBudget,
    		authz,
    	)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    		Resource(m.Resource).
    		VersionedParams(options, metav1.ParameterCodec).
    		Watch(context.TODO())
    }
    
    func (m *Helper) WatchSingle(namespace, name, resourceVersion string) (watch.Interface, error) {
    	return m.RESTClient.Get().
    		NamespaceIfScoped(namespace, m.NamespaceScoped).
    		Resource(m.Resource).
    		VersionedParams(&metav1.ListOptions{
    			ResourceVersion: resourceVersion,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    		if !matchResults.Matches {
    			return ValidateResult{}
    		}
    	}
    
    	optionalVars := cel.OptionalVariableBindings{VersionedParams: versionedParams, Authorizer: authz}
    	expressionOptionalVars := cel.OptionalVariableBindings{VersionedParams: versionedParams}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    }
    
    // OptionalVariableBindings provides expression bindings for optional CEL variables.
    type OptionalVariableBindings struct {
    	// VersionedParams provides the "params" variable binding. This variable binding may
    	// be set to nil even when OptionalVariableDeclarations.HashParams is set to true.
    	VersionedParams runtime.Object
    	// Authorizer provides the authorizer used for the "authorizer" and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/interface.go

    type Matcher interface {
    	// Match is used to take cel evaluations and convert into decisions
    	Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) MatchResult
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    	t := time.Now()
    	evalResults, _, err := m.filter.ForInput(ctx, versionedAttr, celplugin.CreateAdmissionRequest(versionedAttr.Attributes, metav1.GroupVersionResource(versionedAttr.GetResource()), metav1.GroupVersionKind(versionedAttr.VersionedKind)), celplugin.OptionalVariableBindings{
    		VersionedParams: versionedParams,
    		Authorizer:      authz,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	if err != nil {
    		return nil, -1, err
    	}
    	var paramsVal, authorizerVal, requestResourceAuthorizerVal any
    	if inputs.VersionedParams != nil {
    		paramsVal, err = objectToResolveVal(inputs.VersionedParams)
    		if err != nil {
    			return nil, -1, err
    		}
    	}
    
    	if inputs.Authorizer != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top