Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for createActions (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// create the object with denying admission
    	_, err := registry.Create(testContext, podA, denyCreateValidation, &metav1.CreateOptions{})
    	if err == nil {
    		t.Errorf("Expected admission error: %v", err)
    	}
    
    	// create the object
    	objA, err := registry.Create(testContext, podA, rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    
    	// get the object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/eviction_test.go

    		requestOptions  *metav1.CreateOptions
    		pdbs            []runtime.Object
    	}{
    		{
    			name:            "just request-options",
    			requestOptions:  &metav1.CreateOptions{DryRun: []string{"All"}},
    			evictionOptions: &metav1.DeleteOptions{},
    		},
    		{
    			name:            "just eviction-options",
    			requestOptions:  &metav1.CreateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Examples(namespace string) ExampleInterface
    }
    
    // ExampleInterface has methods to work with Example resources.
    type ExampleInterface interface {
    	Create(ctx context.Context, example *v1.Example, opts metav1.CreateOptions) (*v1.Example, error)
    	Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error)
    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    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/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    type CustomResourceDefinitionInterface interface {
    	Create(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts metav1.CreateOptions) (*v1.CustomResourceDefinition, error)
    	Update(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts metav1.UpdateOptions) (*v1.CustomResourceDefinition, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    type CustomResourceDefinitionInterface interface {
    	Create(ctx context.Context, customResourceDefinition *v1beta1.CustomResourceDefinition, opts v1.CreateOptions) (*v1beta1.CustomResourceDefinition, error)
    	Update(ctx context.Context, customResourceDefinition *v1beta1.CustomResourceDefinition, opts v1.UpdateOptions) (*v1beta1.CustomResourceDefinition, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildActionsFactory.java

        @Override
        public void configureCommandLineParser(CommandLineParser parser) {
            buildEnvironmentConfigurationConverter.configure(parser);
        }
    
        @Override
        public Action<? super ExecutionListener> createAction(CommandLineParser parser, ParsedCommandLine commandLine) {
            Parameters parameters = buildEnvironmentConfigurationConverter.convertParameters(commandLine, null);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. pkg/controller/podgc/gc_controller_test.go

    						test.itemsInQueue, gcc.nodeQueue.Len())
    				}
    			}
    
    			// Execute planned nodes changes
    			for _, node := range test.addedClientNodes {
    				client.CoreV1().Nodes().Create(context.TODO(), node, metav1.CreateOptions{})
    			}
    			for _, node := range test.deletedClientNodes {
    				client.CoreV1().Nodes().Delete(context.TODO(), node.Name, metav1.DeleteOptions{})
    			}
    			for _, node := range test.addedInformerNodes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			if tc.setStartTime {
    				start := metav1.NewTime(fakeClock.Now())
    				job.Status.StartTime = &start
    			}
    
    			_, err := clientset.BatchV1().Jobs(job.GetNamespace()).Create(ctx, job, metav1.CreateOptions{})
    			if err != nil {
    				t.Errorf("Could not create Job: %v", err)
    			}
    
    			var j *batch.Job
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. tests/integration/ambient/baseline_test.go

    			&authenticationv1.TokenRequest{
    				Spec: authenticationv1.TokenRequestSpec{
    					Audiences:         []string{"kubernetes.default.svc"},
    					ExpirationSeconds: ptr.Of(int64(600)),
    				},
    			}, metav1.CreateOptions{})
    		assert.NoError(t, err)
    
    		for _, src := range svcs {
    			src := src
    			t.NewSubTestf("from %v", src.Config().Service).Run(func(t framework.TestContext) {
    				opts := echo.CallOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top