Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 168 for GetOptions (0.17 sec)

  1. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    }
    
    func (ic *serviceImportCacheImpl) updateKubeService(t *testing.T) {
    	t.Helper()
    	svc, _ := ic.client.Kube().CoreV1().Services(serviceImportNamespace).Get(context.TODO(), serviceImportName, metav1.GetOptions{})
    	if svc == nil {
    		t.Fatalf("failed to find k8s service: %s/%s", serviceImportNamespace, serviceImportName)
    	}
    
    	// Just add a new label.
    	svc.Labels = map[string]string{
    		"foo": "bar",
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. pkg/istio-agent/xds_proxy_test.go

    		})
    	})
    }
    
    type fakeAckCache struct{}
    
    func (f *fakeAckCache) Get(string, wasmcache.GetOptions) (string, error) {
    	return "test", nil
    }
    func (f *fakeAckCache) Cleanup() {}
    
    type fakeNackCache struct{}
    
    func (f *fakeNackCache) Get(string, wasmcache.GetOptions) (string, error) {
    	return "", errors.New("error")
    }
    func (f *fakeNackCache) Cleanup() {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                public abstract class MyTask extends DefaultTask {
                    @Inject
                    protected abstract ObjectFactory getObjects();
    
                    @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: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    		if err != nil {
    			t.Errorf("expected no error from InstallCSIDriver call but got: %v", err)
    			continue
    		}
    
    		// Assert
    		nodeInfo, err := client.StorageV1().CSINodes().Get(context.TODO(), nodeName, metav1.GetOptions{})
    		if err != nil {
    			t.Errorf("error getting CSINode: %v", err)
    			continue
    		}
    
    		driver := nodeInfo.Spec.Drivers[0]
    		if driver.Name != driverName || driver.NodeID != nodeID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/addons/dns/dns.go

    func GetCoreDNSInfo(client clientset.Interface) (*v1.ConfigMap, string, string, error) {
    	coreDNSConfigMap, err := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(context.TODO(), kubeadmconstants.CoreDNSConfigMap, metav1.GetOptions{})
    	if err != nil {
    		if apierrors.IsNotFound(err) {
    			return nil, "", "", nil
    		}
    		return nil, "", "", err
    	}
    	corefile, ok := coreDNSConfigMap.Data["Corefile"]
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java

        private final OptionValueNotationParserFactory optionValueNotationParserFactory = new OptionValueNotationParserFactory();
    
    
        public Map<String, OptionDescriptor> getOptions(Object target) {
            final Class<?> targetClass = target.getClass();
            Map<String, OptionDescriptor> options = new HashMap<String, OptionDescriptor>();
            if (!cachedOptionElements.containsKey(targetClass)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 09:51:34 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    				defer ticker.Stop()
    				for range ticker.C {
    					programmed := false
    					gwc, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())).Get(context.TODO(), gw.Name, metav1.GetOptions{})
    					if err == nil {
    						// Check if gateway has Programmed condition set to true
    						for _, cond := range gwc.Status.Conditions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. pkg/controller/daemon/update.go

    	canAdoptFunc := controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    		fresh, err := dsc.kubeClient.AppsV1().DaemonSets(ds.Namespace).Get(ctx, ds.Name, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		if fresh.UID != ds.UID {
    			return nil, fmt.Errorf("original DaemonSet %v/%v is gone: got uid %v, wanted %v", ds.Namespace, ds.Name, fresh.UID, ds.UID)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. pkg/registry/apps/deployment/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: Wed Mar 08 21:44:00 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  10. pkg/api/testing/serialization_test.go

    	roundtrip.RoundTripSpecificKind(t, internalGVK, legacyscheme.Scheme, legacyscheme.Codecs, fuzzer, nil)
    }
    
    var nonRoundTrippableTypes = sets.New[string](
    	"ExportOptions",
    	"GetOptions",
    	// WatchEvent does not include kind and version and can only be deserialized
    	// implicitly (if the caller expects the specific object). The watch call defines
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top