Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for James (0.16 sec)

  1. docs/debugging/xattr/main.go

    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    			names = append(names, attrs...)
    		} else {
    			names = append(names, name)
    		}
    		var data [][]string
    		for _, attr := range names {
    			value, err := getxattr(path, attr)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    				Versioned: true,
    			})
    		if err != nil {
    			t.Fatalf("Erasure Object upload failed: <ERROR> %s", err)
    		}
    		names[i] = ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objInfo.Name,
    				VersionID:  objInfo.VersionID,
    			},
    		}
    
    	}
    	names = append(names, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "dir/obj1",
    			VersionID:  mustGetUUID(), // add a non-existent UUID.
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/tier-handlers.go

    	errTierInvalidCredentials = AdminError{
    		Code:       "XMinioAdminTierInvalidCredentials",
    		Message:    "Invalid remote tier credentials",
    		StatusCode: http.StatusBadRequest,
    	}
    	// error returned when reserved internal names are used.
    	errTierReservedName = AdminError{
    		Code:       "XMinioAdminTierReserved",
    		Message:    "Cannot use reserved tier name",
    		StatusCode: http.StatusBadRequest,
    	}
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/os-dirent_namelen_linux.go

    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    	// https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
    	nameLen := bytes.IndexByte(nameBuf[:limit], 0)
    	if nameLen < 0 {
    		return 0, fmt.Errorf("failed to find terminating 0 byte in dirent")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  6. internal/kms/key-manager.go

    	// Once a key has been deleted all data that has been encrypted with it cannot be decrypted
    	// anymore, and therefore, is lost.
    	DeleteKey(ctx context.Context, keyID string) error
    
    	// ListKeys lists all key names.
    	ListKeys(ctx context.Context) (*kes.ListIter[string], error)
    
    	// ImportKey imports a cryptographic key into the KMS.
    	ImportKey(ctx context.Context, keyID string, bytes []byte) error
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. internal/event/name.go

    	ObjectAccessedAll
    	ObjectCreatedAll
    	ObjectRemovedAll
    	ObjectReplicationAll
    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    	}
    	return v
    }()
    
    // Config - OpenID Config
    type Config struct {
    	Enabled bool
    
    	// map of roleARN to providerCfg's
    	arnProviderCfgsMap map[arn.ARN]*providerCfg
    
    	// map of config names to providerCfg's
    	ProviderCfgs map[string]*providerCfg
    
    	pubKeys          publicKeys
    	roleArnPolicyMap map[arn.ARN]string
    
    	transport   http.RoundTripper
    	closeRespFn func(io.ReadCloser)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  9. cmd/iam.go

    // has the same name as the value of this field.
    //
    // - from special JWT claim from STS request for AssumeRoleWithOIDC API (when
    // not using RoleARN). The claim value can be a string or a list and refers to
    // the names of access policies.
    //
    // For all except the RoleARN case, the implementation is the same - the policy
    // for the STS credential is associated with a parent user. For the
    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)
  10. cmd/erasure-object.go

    }
    
    // DeleteObjects deletes objects/versions in bulk, this function will still automatically split objects list
    // into smaller bulks if some object names are found to be duplicated in the delete list, splitting
    // into smaller bulks will avoid holding twice the write lock of the duplicated object names.
    func (er erasureObjects) DeleteObjects(ctx context.Context, bucket string, objects []ObjectToDelete, opts ObjectOptions) ([]DeletedObject, []error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top