Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for migrate (0.18 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    	data, err := readFile(filename)
    	if err != nil {
    		return nil, err
    	}
    	return setupClustersEnvoyConfigWriter(data, out)
    }
    
    // TODO(fisherxu): migrate this to config dump when implemented in Envoy
    // Issue to track -> https://github.com/envoyproxy/envoy/issues/3362
    func setupClustersEnvoyConfigWriter(debug []byte, out io.Writer) (*clusters.ConfigWriter, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

     * deep support for asynchronous operations</a>. But if you want to migrate to Caffeine with minimal
     * code changes, you can use <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/guava/latest/com.github.benmanes.caffeine.guava/com/github/benmanes/caffeine/guava/CaffeinatedGuava.html">its
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 1.0 : (double) hitCount / requestCount;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/util/util_test.go

    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    )
    
    const (
    	testHostName      = "test-hostname"
    	socketPath        = "/var/run/kmsplugin"
    	migratedVolume    = "migrated-volume-name"
    	nonMigratedVolume = "non-migrated-volume-name"
    	testNodeName      = "test-node-name"
    )
    
    var (
    	dirOrCreate = v1.HostPathType(v1.HostPathDirectoryOrCreate)
    	nodeName    = kubetypes.NodeName(testNodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/common_test.go

    		},
    		{
    			name: "InitConfiguration only gets migrated",
    			oldCfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    			kind: InitConfiguration
    			`, gv)),
    			expectedKinds: []string{
    				constants.InitConfigurationKind,
    				constants.ClusterConfigurationKind,
    			},
    			expectErr: false,
    		},
    		{
    			name: "ClusterConfiguration only gets migrated",
    			oldCfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. tests/preload_suits_test.go

    			ID           uint   `gorm:"primary_key;"`
    			LanguageCode string `gorm:"primary_key"`
    			Value        string
    			Level1s      []Level1 `gorm:"many2many:levels;"`
    		}
    	)
    
    	DB.Migrator().DropTable(&Level2{}, &Level1{})
    	DB.Migrator().DropTable("levels")
    
    	if err := DB.AutoMigrate(&Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := Level2{Value: "Bob", LanguageCode: "ru", Level1s: []Level1{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller_test.go

    	}
    }
    
    func TestAnnealMigrationAnnotations(t *testing.T) {
    	// The gce-pd plugin is used to test a migrated plugin (as the feature is
    	// locked as of 1.25), and rbd is used as a non-migrated plugin (still alpha
    	// as of 1.25). As plugins are migrated, rbd should be changed to a non-
    	// migrated plugin. If there are no other non-migrated plugins, then those
    	// test cases are moot and they can be removed (keeping only the test cases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. hack/golangci.yaml

              
              # At this point we don't enforce the usage structured logging calls except in
              # those packages that were migrated. This disables the check for other files.
              -structured .*
              
              # Now enable it again for migrated packages.
              structured k8s.io/kubernetes/cmd/kubelet/.*
              structured k8s.io/kubernetes/pkg/kubelet/.*
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. tests/hooks_test.go

    }
    
    func TestRunCallbacks(t *testing.T) {
    	DB.Migrator().DropTable(&Product{})
    	DB.AutoMigrate(&Product{})
    
    	p := Product{Code: "unique_code", Price: 100}
    	DB.Save(&p)
    
    	if !reflect.DeepEqual(p.GetCallTimes(), []int64{1, 1, 0, 1, 1, 0, 0, 0, 0}) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top