Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Cole (0.2 sec)

  1. internal/bucket/replication/replication_test.go

    		sameTarget            bool
    	}{
    		{ // 1 Invalid delete marker status in replication config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    	parentClaim = "parent"
    
    	// LDAP claim keys
    	ldapUser  = "ldapUser"     // this is a key name for a DN value
    	ldapUserN = "ldapUsername" // this is a key name for the short/login username
    
    	// Role Claim key
    	roleArnClaim = "roleArn"
    )
    
    // stsAPIHandlers implements and provides http handlers for AWS STS API.
    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  3. src/archive/tar/reader.go

    		} else { // In a hole fragment
    			nf = holeEnd - sr.pos
    			if sr.physicalRemaining() == 0 {
    				writeLastByte = true
    				nf--
    			}
    			_, err = ws.Seek(nf, io.SeekCurrent)
    		}
    		sr.pos += nf
    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	// If the last fragment is a hole, then seek to 1-byte before EOF, and
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    						SparseHoles: []sparseEntry{{Offset: 1000, Length: 0}},
    					}, nil},
    					testWrite{strings.Repeat("0123456789", 100), 1000, nil},
    					testClose{},
    				},
    			}, {
    				file: "testdata/gnu-nil-sparse-hole.tar",
    				tests: []testFnc{
    					testHeader{Header{
    						Typeflag:    TypeGNUSparse,
    						Name:        "sparse.db",
    						Size:        1000,
    						SparseHoles: []sparseEntry{{Offset: 0, Length: 1000}},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. tests/scanner_valuer_test.go

    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    	return nil
    }
    
    func (role Role) Value() (driver.Value, error) {
    	return role.Name, nil
    }
    
    func (role Role) IsAdmin() bool {
    	return role.Name == "admin"
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. cmd/sts-datatypes.go

    	// in Using IAM.
    	//
    	// Arn is a required field
    	Arn string
    
    	// A unique identifier that contains the role ID and the role session name of
    	// the role that is being assumed. The role ID is generated by AWS when the
    	// role is created.
    	//
    	// AssumedRoleId is a required field
    	AssumedRoleID string `xml:"AssumeRoleId"`
    	// contains filtered or unexported fields
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    //		{Offset: 18, Length: 3},  // Data fragment for 18..20
    //	}
    //	var sph sparseHoles = []sparseEntry{
    //		{Offset: 0,  Length: 2},  // Hole fragment for 0..1
    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    // Then the content of the resulting sparse file with a Header.Size of 25 is:
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. internal/config/identity/plugin/config.go

    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    	EnvIdentityPluginURL        = "MINIO_IDENTITY_PLUGIN_URL"
    	EnvIdentityPluginAuthToken  = "MINIO_IDENTITY_PLUGIN_AUTH_TOKEN"
    	EnvIdentityPluginRolePolicy = "MINIO_IDENTITY_PLUGIN_ROLE_POLICY"
    	EnvIdentityPluginRoleID     = "MINIO_IDENTITY_PLUGIN_ROLE_ID"
    )
    
    var (
    	// DefaultKVS - default config for AuthN plugin config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. src/archive/tar/reader_test.go

    			Size:     1000,
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatGNU,
    		}},
    	}, {
    		// Generated by Go, works on BSD tar v3.1.2 and GNU tar v.1.27.1.
    		file: "testdata/gnu-nil-sparse-hole.tar",
    		headers: []*Header{{
    			Name:     "sparse.db",
    			Typeflag: TypeGNUSparse,
    			Size:     1000,
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatGNU,
    		}},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  10. internal/config/identity/openid/openid.go

    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top