Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for GetOptions (0.15 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                import java.io.File;
    
                @DisableCachingByDefault(because = "test task")
                public class MyTask extends DefaultTask {
                    @Nested
                    public Options getOptions() {
                        return new Options();
                    }
    
                    @Nested
                    public List<Options> getOptionsList() {
                        return Arrays.asList(new Options());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			client := fake.NewSimpleClientset(testCase.initialState...)
    			epAdapter := NewEndpointsAdapter(client.CoreV1(), client.DiscoveryV1())
    
    			endpoints, err := epAdapter.Get(testCase.namespaceParam, testCase.nameParam, metav1.GetOptions{})
    
    			if !apiequality.Semantic.DeepEqual(testCase.expectedError, err) {
    				t.Errorf("Expected error: %v, got: %v", testCase.expectedError, err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            // or preferably use test suites where the dependencies are automatically managed.
            return false;
        }
    
        @Override
        public TestNGOptions getOptions() {
            return options;
        }
    
        @Override
        public TestNGDetector getDetector() {
            return detector;
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
    	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CustomResourceDefinition, error)
    	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CustomResourceDefinitionList, error)
    	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, 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)
  5. tests/integration/ambient/waypoint_test.go

    			client := t.Clusters().Default().GatewayAPI().GatewayV1beta1().GatewayClasses()
    
    			check := func() error {
    				gwc, _ := client.Get(context.Background(), constants.WaypointGatewayClassName, metav1.GetOptions{})
    				if gwc == nil {
    					return fmt.Errorf("failed to find GatewayClass %v", constants.WaypointGatewayClassName)
    				}
    				cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/storage.go

    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {
    	return r.store.Get(ctx, name, options)
    }
    
    // Update alters the status subset of an object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// Deprecated: Added temporarily to simplify exposing RequestProgress for watch cache.
    	RequestWatchProgress(ctx context.Context) error
    }
    
    // GetOptions provides the options that may be provided for storage get operations.
    type GetOptions struct {
    	// IgnoreNotFound determines what is returned if the requested object is not found. If
    	// true, a zero object is returned. If false, an error is returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	pod, err := client.CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    	if err != nil {
    		return false, err
    	}
    	ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{})
    	if err != nil {
    		return false, err
    	}
    
    	return util.PodRedirectionEnabled(ns, pod), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	var missingCoreDNSConfigMap bool
    	if _, err := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(
    		context.TODO(),
    		kubeadmconstants.CoreDNSConfigMap,
    		metav1.GetOptions{},
    	); err != nil && apierrors.IsNotFound(err) {
    		missingCoreDNSConfigMap = true
    	}
    	if missingCoreDNSConfigMap {
    		klog.Warningf("the ConfigMaps %q in the namespace %q were not found. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. tests/integration/ambient/gateway_conformance_test.go

    			ambientComponent.NewWaypointProxyOrFail(ctx, meshNS, "namespace")
    			for _, k := range ctx.AllClusters() {
    				ns, err := k.Kube().CoreV1().Namespaces().Get(ctx.Context(), meshNS.Name(), metav1.GetOptions{})
    				if err != nil {
    					t.Fatal(err)
    				}
    				labels := ns.Labels
    				if labels == nil {
    					labels = make(map[string]string)
    				}
    				labels[constants.AmbientUseWaypointLabel] = "namespace"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top