Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for configurations (0.8 sec)

  1. cmd/admin-handlers-config-kv.go

    		return
    	}
    
    	// Check if subnet proxy being deleted and if so the value of proxy of subnet
    	// target of logger webhook configuration also should be deleted
    	loggerWebhookProxyDeleted := setLoggerWebhookSubnetProxy(subSys, cfg)
    
    	if err = saveServerConfig(ctx, objectAPI, cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	}
    }
    
    // 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) {
    		logger.Fatal(errors.New("ambiguous KMS configuration"), fmt.Sprintf("The environment contains %q as well as %q", kms.EnvKMSSecretKey, 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)
  3. cmd/format-erasure.go

    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    		if format.Erasure.This == "" {
    			return true
    		}
    	}
    	return false
    }
    
    // fixFormatErasureV3 - fix format Erasure configuration on all disks.
    func fixFormatErasureV3(storageDisks []StorageAPI, endpoints Endpoints, formats []*formatErasureV3) error {
    	g := errgroup.WithNErrs(len(formats))
    	for i := range formats {
    		i := i
    		g.Go(func() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/bucket-versioning-handler.go

    			Description:    "An Object Lock configuration is present on this bucket, versioning cannot be suspended.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    	if rc, _ := getReplicationConfig(ctx, bucket); rc != nil && v.Suspended() {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    						bi.Name,
    						version.Name,
    						ObjectOptions{
    							// Since we are preserving a delete marker, we have to make sure this is always true.
    							// regardless of the current configuration of the bucket we must preserve all versions
    							// on the pool being decommissioned.
    							Versioned:          true,
    							VersionID:          versionID,
    							MTime:              version.ModTime,
    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)
  6. cmd/iam-store.go

    	"github.com/minio/minio/internal/config/identity/openid"
    	"github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    const (
    	// IAM configuration directory.
    	iamConfigPrefix = minioConfigPrefix + "/iam"
    
    	// IAM users directory.
    	iamConfigUsersPrefix = iamConfigPrefix + "/users/"
    
    	// IAM service accounts directory.
    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)
  7. cmd/bucket-quota.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/logger"
    )
    
    // BucketQuotaSys - map of bucket and quota configuration.
    type BucketQuotaSys struct{}
    
    // Get - Get quota configuration.
    func (sys *BucketQuotaSys) Get(ctx context.Context, bucketName string) (*madmin.BucketQuota, error) {
    	cfg, _, err := globalBucketMetadataSys.GetQuotaConfig(ctx, bucketName)
    	return cfg, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    		if err == nil && lc.HasActiveRules("") {
    			cache.Info.lifeCycle = lc
    		}
    	}
    
    	// Check if the current bucket has replication configuration
    	if rcfg, _, err := globalBucketMetadataSys.GetReplicationConfig(ctx, cache.Info.Name); err == nil {
    		if rcfg.HasActiveRules("", true) {
    			tgts, err := globalBucketTargetSys.ListBucketTargets(ctx, cache.Info.Name)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. internal/config/heal/heal.go

    //
    // >0 interval duration between cycles
    func (opts Config) BitrotScanCycle() (d time.Duration) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.cache.bitrotCycle
    }
    
    // Clone safely the heal configuration
    func (opts Config) Clone() (int, time.Duration, string) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.IOCount, opts.Sleep, opts.Bitrot
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    }
    
    function perform_test() {
    	start_minio_3_node 120 $2
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top