Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 152 for createActions (0.35 sec)

  1. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    	if err != nil {
    		t.Errorf("unexpected error returned from admission handler")
    	}
    	if !hasCreateNamespaceAction(mockClient) {
    		t.Errorf("expected create namespace action")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

            @Override
            public Action<? super ExecutionListener> createAction(CommandLineParser parser, ParsedCommandLine commandLine) {
                List<Action<? super ExecutionListener>> actions = new ArrayList<>(2);
                for (CommandLineActionCreator actionCreator : actionCreators) {
                    Action<? super ExecutionListener> action = actionCreator.createAction(parser, commandLine);
                    if (action != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    					Secrets:    []v1.ObjectReference{{Name: "test"}},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
    					Data:       map[string]string{"root-cert.pem": string(fakeCACert)},
    				}, metav1.CreateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/crdclient/types.gen.go

    		}, metav1.CreateOptions{})
    	case gvk.DestinationRule:
    		return c.Istio().NetworkingV1alpha3().DestinationRules(cfg.Namespace).Create(context.TODO(), &apiistioioapinetworkingv1alpha3.DestinationRule{
    			ObjectMeta: objMeta,
    			Spec:       *(cfg.Spec.(*istioioapinetworkingv1alpha3.DestinationRule)),
    		}, metav1.CreateOptions{})
    	case gvk.EnvoyFilter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go

    	defer cancel()
    
    	env := setup()
    	_, err := env.Interface.
    		ApiextensionsV1().
    		CustomResourceDefinitions().
    		Create(
    			ctx,
    			coolFooCRD,
    			metav1.CreateOptions{
    				FieldManager: "resource-manager-test",
    			},
    		)
    
    	require.NoError(t, err)
    
    	env.FakeResourceManager.Expect().
    		AddGroupVersion(coolFooCRD.Spec.Group, coolFooDiscovery)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name: fmt.Sprintf("vol-%d-%d", i, j),
    				},
    			}, metav1.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to create PV: %v", err)
    			}
    		}
    		_, err := fakeKubeClient.CoreV1().Nodes().Create(context.Background(), node, metav1.CreateOptions{})
    		if err != nil {
    			t.Fatalf("failed to create node: %v", err)
    		}
    	}
    
    	return fakeKubeClient
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. 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)
  8. plugin/pkg/admission/resourcequota/admission_test.go

    	err = handler.Validate(context.TODO(), admission.NewAttributesRecord(newPod, nil, api.Kind("Pod").WithVersion("version"), newPod.Namespace, newPod.Name, corev1.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    	if err == nil {
    		t.Errorf("Expected an error because the pod exceeded allowed quota")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    var _ authorizer.Authorizer = (*WebhookAuthorizer)(nil)
    
    type subjectAccessReviewer interface {
    	Create(context.Context, *authorizationv1.SubjectAccessReview, metav1.CreateOptions) (*authorizationv1.SubjectAccessReview, int, error)
    }
    
    type WebhookAuthorizer struct {
    	subjectAccessReview subjectAccessReviewer
    	responseCache       *cache.LRUExpireCache
    	authorizedTTL       time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. plugin/pkg/admission/namespace/exists/admission_test.go

    	err = handler.Validate(context.TODO(), admission.NewAttributesRecord(&pod, nil, api.Kind("Pod").WithVersion("version"), pod.Namespace, pod.Name, api.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    	if err != nil {
    		t.Errorf("unexpected error returned from admission handler")
    	}
    }
    
    // TestAdmissionNamespaceDoesNotExist verifies pod is not admitted if namespace does not exist.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top