Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for VersionedParams (0.35 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/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)
  5. operator/pkg/verifier/verifier.go

    		}
    		switch kind {
    		case "Deployment":
    			deployment := &appsv1.Deployment{}
    			err = info.Client.
    				Get().
    				Resource(kinds).
    				Namespace(namespace).
    				Name(name).
    				VersionedParams(&metav1.GetOptions{}, scheme.ParameterCodec).
    				Do(context.TODO()).
    				Into(deployment)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			if err != nil {
    				t.Fatalf("unexpected error on conversion: %v", err)
    			}
    
    			optionalVars := OptionalVariableBindings{VersionedParams: tc.params, Authorizer: tc.authorizer}
    			ctx := context.TODO()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    var _ matchconditions.Matcher = &fakeCELMatcher{}
    
    type fakeCELMatcher struct {
    	error   error
    	matches bool
    }
    
    func (f *fakeCELMatcher) Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) matchconditions.MatchResult {
    	return matchconditions.MatchResult{Matches: f.matches, FailedConditionName: "placeholder", Error: f.error}
    }
    
    func TestValidate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. pkg/kube/client.go

    			}
    		}
    	}()
    
    	req := c.restClient.Post().
    		Resource("pods").
    		Name(podName).
    		Namespace(podNamespace).
    		SubResource("exec").
    		Param("container", container).
    		VersionedParams(&v1.PodExecOptions{
    			Container: container,
    			Command:   commands,
    			Stdin:     false,
    			Stdout:    true,
    			Stderr:    true,
    			TTY:       false,
    		}, kubescheme.ParameterCodec)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top