Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for owners (0.17 sec)

  1. cmd/admin-handlers_test.go

    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := 0; i < 4; i++ {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. internal/http/dial_others.go

    Harshavardhana <******@****.***> 1683148345 -0700
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. schema/relationship.go

    		}
    	}
    }
    
    // User has many Toys, its `Polymorphic` is `Owner`, Pet has one Toy, its `Polymorphic` is `Owner`
    //
    //	type User struct {
    //	  Toys []Toy `gorm:"polymorphic:Owner;"`
    //	}
    //	type Pet struct {
    //	  Toy Toy `gorm:"polymorphic:Owner;"`
    //	}
    //	type Toy struct {
    //	  OwnerID   int
    //	  OwnerType string
    //	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    	for i := range *locks {
    		(*locks)[i] = ""
    	}
    
    	restClnts, owner := ds.GetLockers()
    
    	// Create buffered channel of size equal to total number of nodes.
    	ch := make(chan Granted, len(restClnts))
    	var wg sync.WaitGroup
    
    	args := LockArgs{
    		Owner:     owner,
    		UID:       id,
    		Resources: names,
    		Source:    source,
    		Quorum:    quorum,
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/api-resources.go

    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    	startAfter = values.Get("start-after")
    	delimiter = values.Get("delimiter")
    	fetchOwner = values.Get("fetch-owner") == "true"
    	encodingType = values.Get("encoding-type")
    
    	if token = values.Get("continuation-token"); token != "" {
    		decodedToken, err := base64.StdEncoding.DecodeString(token)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. tests/associations_test.go

    		t.Errorf("Failed to query saved association")
    	}
    
    	orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}}
    	if err := DB.Create(&orders).Error; err != nil {
    		t.Errorf("failed to create orders, got %v", err)
    	}
    
    	coupon2 := Coupon{
    		AppliesToProduct: []*CouponProduct{{Desc: "coupon-description"}},
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. cmd/routers.go

    }
    
    // List of some generic middlewares which are applied for all incoming requests.
    var globalMiddlewares = []mux.MiddlewareFunc{
    	// set x-amz-request-id header and others
    	addCustomHeadersMiddleware,
    	// The generic tracer needs to be the first middleware to catch all requests
    	// returned early by any other middleware (but after the middleware that
    	// sets the amz request id).
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  8. internal/config/errors.go

    		`Use 'sudo setcap cap_net_bind_service=+ep /path/to/minio' to provide sufficient permissions`,
    	)
    
    	ErrTLSReadError = newErrFn(
    		"Cannot read the TLS certificate",
    		"Please check if the certificate has the proper owner and read permissions",
    		"",
    	)
    
    	ErrTLSUnexpectedData = newErrFn(
    		"Invalid TLS certificate",
    		"Please check your certificate",
    		"",
    	)
    
    	ErrTLSNoPassword = newErrFn(
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	entry := &madmin.LockEntry{
    		Timestamp:  l.Timestamp,
    		Elapsed:    now.Sub(l.Timestamp),
    		Resource:   resource,
    		ServerList: []string{server},
    		Source:     l.Source,
    		Owner:      l.Owner,
    		ID:         l.UID,
    		Quorum:     l.Quorum,
    	}
    	if l.Writer {
    		entry.Type = "WRITE"
    	} else {
    		entry.Type = "READ"
    	}
    	return entry
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. cmd/admin-handlers-users_test.go

    func (s *TestSuiteIAM) TestAccMgmtPlugin(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	// 0. Check that owner is able to make-bucket.
    	bucket := getRandomBucketName()
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top