Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 223 for Migration (0.17 sec)

  1. migrator.go

    	tx := db.getInstance()
    
    	// apply scopes to migrator
    	for len(tx.Statement.scopes) > 0 {
    		tx = tx.executeScopes()
    	}
    
    	return tx.Dialector.Migrator(tx.Session(&Session{}))
    }
    
    // AutoMigrate run auto migration for given models
    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    // ViewOption view option
    type ViewOption struct {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cluster/images/etcd/migrate/integration_test.go

    				}
    				migrator := &Migrator{server.cfg, dataDir, server.client}
    				err = migrator.MigrateIfNeeded(start)
    				if err != nil {
    					t.Fatalf("Migration failed: %v", err)
    				}
    				err = server.Start(start.version)
    				if err != nil {
    					t.Fatalf("Failed to start server: %v", err)
    				}
    			})
    
    			// Write a value to each server, read it back.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. pkg/controller/volume/expand/expand_controller.go

    	migratable, err := expc.csiMigratedPluginManager.IsMigratable(volumeSpec)
    	if err != nil {
    		logger.V(4).Info("Failed to check CSI migration status for PVC with error", "pvcKey", key, "err", err)
    		return nil
    	}
    	// handle CSI migration scenarios before invoking FindExpandablePluginBySpec for in-tree
    	if migratable {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. releasenotes/notes/49700.yaml

        content: |
          Waypoints in Istio's ambient mode no longer use the original service account or namespace attachment semantics. If you were using a namespace-scope waypoint previously migration should be fairly straight forward. Annotate your namespace with the appropriate waypoint and it should function in a similar way.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/storage/storage_codec.go

    		// data written that way could exist in etcd2, or could have been migrated to etcd3.
    		// TODO: flag this type of data if we encounter it, require migration (read to decode, write to persist using a supported encoder), and remove in 1.8
    		runtime.NewBase64Serializer(nil, opts.StorageSerializer.UniversalDeserializer()),
    	}
    	if opts.DecoderDecoratorFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 15:03:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/tasks/options/Option.java

     * the option "foo" will have precedence over the option "bar" and setting both will result in the value of "foo".
     * </p>
     * <p>
     * <strong>
     *     Depending on this behavior is discouraged. It is only in place to allow legacy migration to interface options.
     * </strong>
     * </p>
     *
     * @since 4.6
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.METHOD, ElementType.FIELD})
    @Inherited
    public @interface Option {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	// At that point, they are guaranteed to either migrate to the new key
    	// or get errors during the migration.
    	//
    	// If the API server coasted forever on the last DEK/seed, they would need
    	// to actively check if it had observed the new key ID before starting
    	// a migration - otherwise it could keep using the old DEK/seed and their
    	// storage migration would not do what they thought it did.
    	kmsv2PluginHealthzPositiveInterval = 1 * time.Minute
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  8. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    #!/bin/bash
    
    # This script is used to test the migration of IAM content from old minio
    # instance to new minio instance.
    #
    # To run it locally, start the LDAP server in github.com/minio/minio-iam-testing
    # repo (e.g. make podman-run), and then run this script.
    #
    # This script assumes that LDAP server is at:
    #
    #   `localhost:1389`
    #
    # if this is not the case, set the environment variable
    # `_MINIO_LDAP_TEST_SERVER`.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. plugin/pkg/admission/certificates/ctbattest/admission.go

    	// attest check.
    	if newBundle.Spec.SignerName == "" {
    		return nil
    	}
    
    	// Skip the attest check when the semantics of the bundle are unchanged to support storage migration and GC workflows
    	if a.GetOperation() == admission.Update && rbac.IsOnlyMutatingGCFields(a.GetObject(), a.GetOldObject(), kapihelper.Semantic) {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 16:26:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. schema/field_test.go

    	Name3 string `gorm:"<-"`
    	Name4 string `gorm:"<-:create"`
    	Name5 string `gorm:"<-:update"`
    	Name6 string `gorm:"<-:create,update"`
    	Name7 string `gorm:"->:false;<-:create,update"`
    	Name8 string `gorm:"->;-:migration"`
    }
    
    func TestParseFieldWithPermission(t *testing.T) {
    	user, err := schema.Parse(&UserWithPermissionControl{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top