Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for loading (0.16 sec)

  1. cmd/update.go

    		if err = v.LoadFromURL(u.String(), minisignPubkey, transport); err != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    fmt.Sprintf("signature loading failed for %v with %v", u, err),
    				StatusCode: http.StatusInternalServerError,
    			}
    		}
    		opts.Verifier = v
    	}
    
    	if err = selfupdate.PrepareAndCheckBinary(reader, opts); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if authn := newGlobalAuthNPluginFn(); authn != nil {
    		riMap := authn.GetRoleInfo()
    		sys.validateAndAddRolePolicyMappings(ctx, riMap)
    	}
    
    	sys.printIAMRoles()
    
    	bootstrapTraceMsg("finishing IAM loading")
    }
    
    func (sys *IAMSys) periodicRoutines(ctx context.Context, baseInterval time.Duration) {
    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    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)
  3. cmd/erasure-server-pool.go

    			return nil, fmt.Errorf("parity validation returned an error: %w <- (%d, %d), for pool(%s)", err, commonParityDrives, ep.DrivesPerSet, humanize.Ordinal(i+1))
    		}
    
    		bootstrapTrace("waitForFormatErasure: loading disks", func() {
    			storageDisks[i], formats[i], err = waitForFormatErasure(local, ep.Endpoints, i+1,
    				ep.SetCount, ep.DrivesPerSet, deploymentID)
    		})
    		if err != nil {
    			return nil, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    			bootstrapTraceMsg("loading regular users")
    			if err := store.loadUsers(ctx, regUser, newCache.iamUsersMap); err != nil {
    				return err
    			}
    			bootstrapTraceMsg("loading regular groups")
    			if err := store.loadGroups(ctx, newCache.iamGroupsMap); err != nil {
    				return err
    			}
    		}
    
    		bootstrapTraceMsg("loading user policy mapping")
    		// load polices mapped to users
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. internal/logger/targets.go

    	// systemTargets is the set of enabled loggers.
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    	systemTargets  = []Target{}
    	swapSystemMuRW sync.RWMutex
    
    	// auditTargets is the list of enabled audit loggers
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    	auditTargets  = []Target{}
    	swapAuditMuRW sync.RWMutex
    
    	// This is always set represent /dev/console target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectNamePrefixSlash: {
    		Code:           "XMinioInvalidObjectName",
    		Description:    "Object name contains a leading slash.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidResourceName: {
    		Code:           "XMinioInvalidResourceName",
    		Description:    "Resource name contains bad components such as \"..\" or \".\".",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/erasure-object.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	if !opts.NoLock {
    		// Lock the object before reading.
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		ctx = lkctx.Context()
    		defer lk.RUnlock(lkctx)
    	}
    
    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)
  8. docs/site-replication/run-ssec-object-replication.sh

    # sleep for replication to complete
    sleep 30
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    set -x
    ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
    ./mc cp /tmp/data/encrypted minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.7K bytes
    - Viewed (1)
  9. cmd/common-main.go

    		}
    		globalActiveCred = cred
    		globalCredViaEnv = true
    	} else {
    		globalActiveCred = auth.DefaultCredentials
    	}
    }
    
    // Initialize KMS global variable after valiadating and loading the configuration.
    // It depends on KMS env variables and global cli flags.
    func handleKMSConfig() {
    	if env.IsSet(kms.EnvKMSSecretKey) && env.IsSet(kms.EnvKESEndpoint) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. cmd/bucket-object-lock.go

    			return r, err
    		}
    		return r, err
    	}
    	return config.ToRetention(), nil
    }
    
    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top