Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for GetOptions (0.37 sec)

  1. 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)
  2. operator/pkg/util/k8s.go

    		namespace = constants.IstioSystemNamespace
    	}
    	// check if the namespace already exists. If yes, do nothing. If no, create a new one.
    	if _, err := cs.CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{}); err != nil {
    		if errors.IsNotFound(err) {
    			ns := &v1.Namespace{ObjectMeta: metav1.ObjectMeta{
    				Name:   namespace,
    				Labels: map[string]string{},
    			}}
    			if network != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandler.java

                return version;
            }
    
            public void setVersion(String version) {
                this.version = version;
            }
    
            public String getOptions() {
                return options;
            }
    
            public void setOptions(String options) {
                this.options = options;
            }
    
            public List<Long> getBuild_time() {
                return build_time;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/util/util.go

    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    
    	// Needs to create a new sandbox when network namespace changed.
    	if sandboxStatus.GetLinux().GetNamespaces().GetOptions().GetNetwork() != NetworkNamespaceForPod(pod) {
    		klog.V(2).InfoS("Sandbox for pod has changed. Need to start a new one", "pod", klog.KObj(pod))
    		return true, sandboxStatus.Metadata.Attempt + 1, ""
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. pkg/registry/core/rest/storage_core_generic.go

    	return notFoundGetter{gr: gr}
    }
    
    type notFoundGetter struct {
    	gr schema.GroupResource
    }
    
    func (g notFoundGetter) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {
    	return nil, errors.NewNotFound(g.gr, name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. pkg/registry/core/serviceaccount/storage/storage_test.go

    // When more test cases are added, this getter will need extending/replacing to have a real test implementation.
    type panicGetter struct{}
    
    func (f panicGetter) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {
    	panic("not implemented")
    }
    
    var _ rest.Getter = panicGetter{}
    
    func validNewServiceAccount(name string) *api.ServiceAccount {
    	return &api.ServiceAccount{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. pkg/test/framework/components/prometheus/kube.go

    		if err != nil {
    			return nil, err
    		}
    		pod := pods[0]
    
    		svc, err := cls.Kube().CoreV1().Services(cfg.TelemetryNamespace).Get(context.TODO(), serviceName, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		port := uint16(svc.Spec.Ports[0].Port)
    
    		forwarder, err := cls.NewPortForwarder(pod.Name, pod.Namespace, "", 0, int(port))
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		require.NoError(t, err)
    		return out
    	}
    	getPod := func(name, ns string) *example.Pod {
    		key := "pods/" + ns + "/" + name
    		out := &example.Pod{}
    		err := etcdStorage.Get(context.TODO(), key, storage.GetOptions{}, out)
    		require.NoError(t, err)
    		return out
    	}
    	makeReplicaSet := func(name string) *example2v1.ReplicaSet {
    		return &example2v1.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    .withPropertyName("stylesheetFile")
                    .withPathSensitivity(PathSensitivity.NAME_ONLY);
    
                StandardJavadocDocletOptions options = (StandardJavadocDocletOptions) task.getOptions();
                options.setEncoding("utf-8");
                options.setDocEncoding("utf-8");
                options.setCharSet("utf-8");
    
                options.addBooleanOption("-allow-script-in-comments", true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:10:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top