Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for _new (0.03 sec)

  1. cmd/warm-backend-minio.go

    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. cmd/warm-backend-gcs.go

    }
    
    func newWarmBackendGCS(conf madmin.TierGCS, tier string) (*warmBackendGCS, error) {
    	// Validation code
    	if conf.Creds == "" {
    		return nil, errors.New("empty credentials unsupported")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	credsJSON, err := conf.GetCredentialJSON()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    		Transport: s.TestSuiteCommon.client.Transport,
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    func objectPartIndexNums(parts []int, partNumber int) int {
    	for i, part := range parts {
    		if part != 0 && partNumber == part {
    			return i
    		}
    	}
    	return -1
    }
    
    // AddObjectPart - add a new object part in order.
    func (fi *FileInfo) AddObjectPart(partNumber int, partETag string, partSize, actualSize int64, modTime time.Time, idx []byte, checksums map[string]string) {
    	partInfo := ObjectPartInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    				z.AllTierStats = nil
    			} else {
    				if z.AllTierStats == nil {
    					z.AllTierStats = new(allTierStats)
    				}
    				err = z.AllTierStats.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    			}
    			zb0001Mask |= 0x1
    		case "c":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  7. helm-releases/minio-5.3.0.tgz

    the main command on exit exitCommand: "" ## List of users to be created after minio install ## users: ## Username, password and policy to be assigned to the user ## Default policies are [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## Add new policies as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management.html#access-management ## NOTE: this will fail if LDAP is enabled in your MinIO deployment ## make sure to disable this if you are using...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    func listIAMConfigItems(ctx context.Context, objAPI ObjectLayer, pathPrefix string) <-chan itemOrErr[string] {
    	ch := make(chan itemOrErr[string])
    
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		// Allocate new results channel to receive ObjectInfo.
    		objInfoCh := make(chan itemOrErr[ObjectInfo])
    
    		if err := objAPI.Walk(ctx, minioMetaBucket, pathPrefix, objInfoCh, WalkOptions{}); err != nil {
    			select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    // The disk ID will be validated against the loaded one.
    func loadHealingTracker(ctx context.Context, disk StorageAPI) (*healingTracker, error) {
    	if disk == nil {
    		return nil, errors.New("loadHealingTracker: nil drive given")
    	}
    	diskID, err := disk.GetDiskID()
    	if err != nil {
    		return nil, err
    	}
    	b, err := disk.ReadAll(ctx, minioMetaBucket,
    		pathJoin(bucketMetaPrefix, healingTrackerFilename))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CreateUser - create new user credentials and policy, if user already exists
    // they shall be rewritten with new inputs.
    func (sys *IAMSys) CreateUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top