Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for rev (0.04 sec)

  1. src/cmd/go/internal/modfetch/cache.go

    // GoMod is like Lookup(ctx, path).GoMod(rev) but avoids the
    // repository path resolution in Lookup if the result is
    // already cached on local disk.
    func GoMod(ctx context.Context, path, rev string) ([]byte, error) {
    	// Convert commit hash to pseudo-version
    	// to increase cache hit rate.
    	if !gover.ModIsValid(path, rev) {
    		if _, info, err := readDiskStat(ctx, path, rev); err == nil {
    			rev = info.Version
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		if err != nil {
    			return nil, storage.NewInternalError(err.Error())
    		}
    		state.rev = getResp.Kvs[0].ModRevision
    		state.meta.ResourceVersion = uint64(state.rev)
    		state.data = data
    		state.stale = stale
    		if err := decode(s.codec, s.versioner, state.data, state.obj, state.rev); err != nil {
    			recordDecodeError(s.groupResourceString, key)
    			return nil, err
    		}
    	}
    	return state, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/configmap.go

    		ic.values = myic
    		ic.mu.Unlock()
    	}
    
    	return myic, nil
    }
    
    func (ic *injectConfig) configMapName() string {
    	cmName := "istio-sidecar-injector"
    	if rev := ic.revisions.Default(); rev != "default" && rev != "" {
    		cmName += "-" + rev
    	}
    	return cmName
    }
    
    func (mc *meshConfig) MeshConfig() (*meshconfig.MeshConfig, error) {
    	mc.mu.Lock()
    	mymc := mc.meshConfig
    	mc.mu.Unlock()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. tests/integration/pilot/ingress_test.go

    				gatewayNs := namespace.NewOrFail(t, t, namespace.Config{Prefix: "custom-gateway-helm", Inject: inject})
    				d := filepath.Join(t.TempDir(), "gateway-values.yaml")
    				rev := ""
    				if t.Settings().Revisions.Default() != "" {
    					rev = t.Settings().Revisions.Default()
    				}
    				os.WriteFile(d, []byte(fmt.Sprintf(`
    revision: %v
    gateways:
      istio-ingressgateway:
        name: custom-gateway-helm
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		},
    		{
    			name:        "rev resolve to 0 if not recursive",
    			rv:          "200",
    			limit:       1,
    			expectedRev: 0,
    		},
    		{
    			name:        "rev resolve to 0 if limit unspecified",
    			rv:          "200",
    			recursive:   true,
    			expectedRev: 0,
    		},
    		{
    			name:        "specified rev if recursive with limit",
    			rv:          "200",
    			recursive:   true,
    			limit:       1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. pkg/config/model.go

    }
    
    func ObjectInRevision(o *Config, rev string) bool {
    	return LabelsInRevision(o.Labels, rev)
    }
    
    // Spec defines the spec for the config. In order to use below helper methods,
    // this must be one of:
    // * golang/protobuf Message
    // * gogo/protobuf Message
    // * Able to marshal/unmarshal using json
    type Spec any
    
    func ToProto(s Spec) (*anypb.Any, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    				programmed := kstatus.StatusFalse
    				rev := gw.Labels[label.IoIstioRev.Name]
    				if rev == "" {
    					rev = "default"
    				}
    				for _, cond := range gw.Status.Conditions {
    					if cond.Type == string(gateway.GatewayConditionProgrammed) {
    						programmed = string(cond.Status)
    					}
    				}
    				if allNamespaces {
    					_, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", gw.Namespace, gw.Name, rev, programmed)
    				} else {
    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. tests/integration/helm/upgrade/util.go

    		// change the old namespace that was pointing to the old prod (1-15-0) to point to the
    		// 'latest' revision by setting the `istio.io/rev=prod` label on the namespace
    		err := oldNs.SetLabel(label.IoIstioRev.Name, prodTag)
    		if err != nil {
    			t.Fatal("could not remove istio.io/rev from old namespace")
    		}
    
    		err = oldClient.Restart()
    		if err != nil {
    			t.Fatal("could not restart old client")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crdclient/client_test.go

    	}
    
    	// Populate the client with some ServiceEntrys such that 1/3 are in the default revision and
    	// 2/3 are in different revisions.
    	labels := []map[string]string{
    		nil,
    		{"istio.io/rev": "canary"},
    		{"istio.io/rev": "prod"},
    	}
    	var expectedNoRevision []config.Config
    	var expectedCanary []config.Config
    	var expectedProd []config.Config
    	for i := 0; i < 9; i++ {
    		selectedLabels := labels[i%len(labels)]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. operator/pkg/verifier/verifier.go

    	if err != nil {
    		return "", fmt.Errorf("failed to fetch istiod pod, error: %v", err)
    	}
    	for _, pod := range pods.Items {
    		rev := pod.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    		revCount++
    		if rev == "default" {
    			continue
    		}
    		revision = rev
    	}
    	if revision == "" {
    		revs = "default"
    	} else {
    		revs = revision
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top