Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for updateFn (0.19 sec)

  1. cmd/iam-store.go

    	default:
    		m = cache.iamUsersMap
    	}
    	err := store.loadUser(ctx, accessKey, userType, m)
    
    	if err == errNoSuchUser {
    		// User was deleted - we update the cache.
    		delete(m, accessKey)
    
    		// Since cache was updated, we update the timestamp.
    		defer func() {
    			cache.updatedAt = time.Now()
    		}()
    
    		// 1. Start with updating user-group memberships
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. common/scripts/metallb-native.yaml

              kind:
                description: 'Kind is a string value representing the REST resource this
                  object represents. Servers may infer this from the endpoint the client
                  submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
                type: string
              metadata:
                type: object
              spec:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  3. docs/bucket/notifications/README.md

    the key is formatted as "bucketName/objectName" for an object that exists in the bucket, and the value is the JSON-encoded event data about the operation that created/replaced the object in MinIO. When objects are updated or deleted, the corresponding entry in the hash is also updated or deleted.
    
    When the _access_ format is used, MinIO appends events to a list using [RPUSH](https://redis.io/commands/rpush). Each item in the list is a JSON encoded list with two items, where the first item...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    		for _, erObj := range z.sets {
    			resultIndex++
    			wg.Add(1)
    			go func(i int, erObj *erasureObjects) {
    				updates := make(chan dataUsageCache, 1)
    				defer xioutil.SafeClose(updates)
    				// Start update collector.
    				go func() {
    					defer wg.Done()
    					for info := range updates {
    						mu.Lock()
    						results[i] = info
    						mu.Unlock()
    					}
    				}()
    				// Start scanner. Blocks until done.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/iam.go

    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	regUser
    	stsUser
    	svcUser
    )
    
    // LoadGroup - loads a specific group from storage, and updates the
    // memberships cache. If the specified group does not exist in
    // storage, it is removed from in-memory maps as well - this
    // simplifies the implementation for group removal. This is called
    // only via IAM notifications.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/xl-storage-format-v2.go

    	if idx < 0 || idx >= len(x.versions) {
    		return errFileNotFound
    	}
    	update := &x.versions[idx]
    	prevMod := update.header.ModTime
    	update.meta, err = ver.MarshalMsg(update.meta[:0:len(update.meta)])
    	if err != nil {
    		update.meta = nil
    		return err
    	}
    	update.header = ver.header()
    	if prevMod != update.header.ModTime {
    		x.sortByModTime()
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/bucket-handlers.go

    		dnsLogIf(GlobalContext, err)
    		return
    	}
    
    	bucketsSet := set.NewStringSet()
    	bucketsToBeUpdated := set.NewStringSet()
    	bucketsInConflict := set.NewStringSet()
    
    	// This means that domain is updated, we should update
    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket.Name)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      optional FieldsV1 fieldsV1 = 7;
    
      // Subresource is the name of the subresource used to update that object, or
      // empty string if the object was updated through the main resource. The
      // value of this field is used to distinguish between managers, even if they
      // share the same name. For example, a status update will be distinct from a
      // regular update using the same manager name.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  9. tests/query_test.go

    	}
    }
    
    func TestScanNullValue(t *testing.T) {
    	user := GetUser("scan_null_value", Config{})
    	DB.Create(&user)
    
    	if err := DB.Model(&user).Update("age", nil).Error; err != nil {
    		t.Fatalf("failed to update column age for struct, got error %v", err)
    	}
    
    	var result User
    	if err := DB.First(&result, "id = ?", user.ID).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        }
    
        @Override
        public ActionFuture<UpdateResponse> update(final UpdateRequest request) {
            return client.update(request);
        }
    
        @Override
        public void update(final UpdateRequest request, final ActionListener<UpdateResponse> listener) {
            client.update(request, listener);
        }
    
        @Override
        public UpdateRequestBuilder prepareUpdate() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top