Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for members (0.18 sec)

  1. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/user-info").HandlerFunc(adminMiddleware(adminAPI.GetUserInfo)).Queries("accessKey", "{accessKey:.*}")
    		// Add/Remove members from group
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/update-group-members").HandlerFunc(adminMiddleware(adminAPI.UpdateGroupMembers))
    
    		// Get Group
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 1. Add user to a new group
    	group := "mygroup"
    	err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{
    		Group:   group,
    		Members: []string{accessKey},
    	})
    	if err != nil {
    		c.Fatalf("Unable to add user to group: %v", err)
    	}
    
    	// 2. Check that user has no access
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	// Constants for the first byte in CreatorVersion.
    	creatorFAT    = 0
    	creatorUnix   = 3
    	creatorNTFS   = 11
    	creatorVFAT   = 14
    	creatorMacOSX = 19
    
    	// Version numbers.
    	zipVersion20 = 20 // 2.0
    	zipVersion45 = 45 // 4.5 (reads and writes zip64 archives)
    
    	// Limits for non zip64 files.
    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    	pr, pw := io.Pipe()
    	// Copy input to compressor
    	opts := compressOpts
    	if encrypted {
    		// The values used for padding are not a security concern,
    		// but we choose pseudo-random numbers instead of just zeros.
    		rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    		opts = append([]s2.WriterOption{s2.WriterPadding(compPadEncrypted), s2.WriterPaddingSrc(rng)}, compressOpts...)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. src/builtin/builtin.go

    type int64 int64
    
    // float32 is the set of all IEEE 754 32-bit floating-point numbers.
    type float32 float32
    
    // float64 is the set of all IEEE 754 64-bit floating-point numbers.
    type float64 float64
    
    // complex64 is the set of all complex numbers with float32 real and
    // imaginary parts.
    type complex64 complex64
    
    // complex128 is the set of all complex numbers with float64 real and
    // imaginary parts.
    type complex128 complex128
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    		BytesFailed:             pd.BytesFailed,
    	}
    }
    
    // bucketPop should be called when a bucket is done decommissioning.
    // Adds the bucket to the list of decommissioned buckets and updates resume numbers.
    func (pd *PoolDecommissionInfo) bucketPop(bucket string) bool {
    	pd.DecommissionedBuckets = append(pd.DecommissionedBuckets, bucket)
    	for i, b := range pd.QueuedBuckets {
    		if b == bucket {
    			// Bucket is done.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. internal/s3select/sql/value.go

    	case int64:
    		v.value = -x
    	}
    }
    
    // Value comparison functions: we do not expose them outside the
    // module. Logical operators "<", ">", ">=", "<=" work on strings and
    // numbers. Equality operators "=", "!=" work on strings,
    // numbers and booleans.
    
    // Supported comparison operators
    const (
    	opLt    = "<"
    	opLte   = "<="
    	opGt    = ">"
    	opGte   = ">="
    	opEq    = "="
    	opIneq  = "!="
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    	t.Run("uint16max_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // suffixSaver is an io.Writer & io.ReaderAt that remembers the last 0
    // to 'keep' bytes of data written to it. Call Suffix to get the
    // suffix bytes.
    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    	for {
    		tok = p.nextToken()
    		// We save the line number here so error messages from this instruction
    		// are labeled with this line. Otherwise we complain after we've absorbed
    		// the terminating newline and the line numbers are off by one in errors.
    		p.lineNum = p.lex.Line()
    		switch tok {
    		case '\n', ';':
    			continue
    		case scanner.EOF:
    			return "", "", nil, false
    		}
    		break
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. tests/associations_test.go

    	var member2 Member
    	if err := DB.First(&member2, "id = ?", member.ID).Error; err != nil {
    		t.Fatalf("failed to find member, got error: %v", err)
    	} else if member2.ProfileID != 100 {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", 100, member2.ProfileID)
    	}
    
    	if r := DB.Delete(&profile); r.Error != nil || r.RowsAffected != 1 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top