Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for enforce (0.22 sec)

  1. cmd/admin-bucket-handlers.go

    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    // ----------
    // Places a quota configuration on the specified bucket. The quota
    // specified in the quota configuration will be applied by default
    // to enforce total quota for the specified bucket.
    func (a adminAPIHandlers) PutBucketQuotaConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/api-utils.go

    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if shouldEscape(c) {
    			if c == ' ' {
    				spaceCount++
    			} else {
    				hexCount++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		return
    	}
    
    	rcfg, _ := globalBucketObjectLockSys.Get(bucket)
    	if rcfg.LockEnabled && opts.DeletePrefix {
    		apiErr := toAPIError(ctx, errInvalidArgument)
    		apiErr.Description = "force-delete is forbidden on Object Locking enabled buckets"
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	server.Host = globalMinioConsoleHost
    	server.Port = consolePort
    	consoleapi.Port = globalMinioConsolePort
    	consoleapi.Hostname = globalMinioConsoleHost
    
    	if globalIsTLS {
    		// If TLS certificates are provided enforce the HTTPS.
    		server.EnabledListeners = []string{"https"}
    		server.TLSPort = consolePort
    		// Need to store tls-port, tls-host un config variables so secure.middleware can read from there
    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)
  5. helm-releases/minio-5.1.0.tgz

    o/docs/tasks/administer-cluster/declare-network-policy#before-you-begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for *all* pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` When using `Cilium` as a CNI in your cluster, please edit the `flavor` field to...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/bucket-object-lock.go

    		if err != nil {
    			internalLogIf(ctx, err, logger.WarningKind)
    			return true
    		}
    		if ret.RetainUntilDate.After(t) {
    			return true
    		}
    	}
    	return false
    }
    
    // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted
    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    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)
  7. docs/bucket/replication/setup_2site_existing_replication.sh

    out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    ./mc rm -r --force --versions sitea/bucket/marker
    sleep 14s ## sleep for 14s idea is that we give 100ms per object.
    
    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/ftp/README.md

    | rename              | no        |
    
    MinIO supports following FTP/SFTP based protocols to access and manage data.
    
    - Secure File Transfer Protocol (SFTP) – Defined by the Internet Engineering Task Force (IETF) as an
      extended version of SSH 2.0, allowing file transfer over SSH and for use with Transport Layer
      Security (TLS) and VPN applications.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. cmd/peer-s3-client.go

    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    
    	mss := grid.NewMSSWith(map[string]string{
    		peerS3Bucket:            bucket,
    		peerS3BucketForceDelete: strconv.FormatBool(opts.Force),
    	})
    
    	_, err := deleteBucketRPC.Call(ctx, conn, mss)
    	return toStorageErr(err)
    }
    
    func (client remotePeerS3Client) GetHost() string {
    	return client.node.Host
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. cmd/bucket-quota.go

    		} else {
    			internalLogOnceIf(GlobalContext, errors.New("unable to retrieve usage information for bucket: %s, no reliable usage value available - quota will not be enforced"), "bucket-usage-empty-"+bucket)
    		}
    	}
    
    	if len(dui.BucketsUsage) > 0 {
    		bui, ok := dui.BucketsUsage[bucket]
    		if ok {
    			return bui, nil
    		}
    	}
    	return BucketUsageInfo{}, nil
    }
    
    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)
Back to top