Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fork (0.14 sec)

  1. cmd/admin-bucket-handlers.go

    	writeSuccessResponseJSON(w, configData)
    }
    
    // SetRemoteTargetHandler - sets a remote target for bucket
    func (a adminAPIHandlers) SetRemoteTargetHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	bucket := pathClean(vars["bucket"])
    	update := r.Form.Get("update") == "true"
    
    	// Get current object layer instance.
    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/common-main.go

    // the environment values from a file, in the form "key, value".
    // in a structured form.
    func minioEnvironFromFile(envConfigFile string) ([]envKV, error) {
    	f, err := Open(envConfigFile)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	var ekvs []envKV
    	scanner := bufio.NewScanner(f)
    	for scanner.Scan() {
    		ekv, err := parsEnvEntry(scanner.Text())
    		if err != nil {
    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/sts-handlers.go

    	}
    
    	ctx = newContext(r, w, action)
    
    	token := r.Form.Get(stsToken)
    	if token == "" {
    		token = r.Form.Get(stsWebIdentityToken)
    	}
    
    	accessToken := r.Form.Get(stsWebIdentityAccessToken)
    
    	// RoleARN parameter processing: If a role ARN is given in the request, we
    	// use that and validate the authentication request. If not, we assume this
    	// is an STS request for a claim based IDP (if one is present) and set
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. cmd/object-api-interface.go

    	MetadataChg           bool                  // is true if it is a metadata update operation.
    	EvalRetentionBypassFn EvalRetentionBypassFn // only set for enforcing retention bypass on DeleteObject.
    
    	FastGetObjInfo bool // Only for S3 Head/Get Object calls for now
    	NoAuditLog     bool // Only set for decom, rebalance, to avoid double audits.
    }
    
    // WalkOptions provides filtering, marker and other Walk() specific options.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    	}
    
    	// Maximum versions requested for "latest" object
    	// resolution on versioned buckets, this is to be only
    	// used when o.Versioned is false
    	if !o.Versioned {
    		resolver.requestedVersions = 1
    	}
    	var limit int
    	if o.Limit > 0 && o.StopDiskAtLimit {
    		// Over-read by 4 + 1 for every 16 in limit to give some space for resolver,
    		// allow for truncating the list and know if we have more results.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    		return errLifecycleNoRule
    	}
    
    	// Validate all the rules in the lifecycle config
    	for _, r := range lc.Rules {
    		if err := r.Validate(); err != nil {
    			return err
    		}
    	}
    	// Make sure Rule ID is unique
    	for i := range lc.Rules {
    		if i == len(lc.Rules)-1 {
    			break
    		}
    		otherRules := lc.Rules[i+1:]
    		for _, otherRule := range otherRules {
    			if lc.Rules[i].ID == otherRule.ID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/utils.go

    	}
    
    	// Modify u to choose the ldap option
    	u.Path += "/ldap"
    	// fmt.Println(u)
    
    	// Pick the LDAP login option. This would return a form page after
    	// following some redirects. `lastReq` would be the URL of the form
    	// page, where we need to POST (submit) the form.
    	req, err = http.NewRequestWithContext(ctx, http.MethodGet, u.String(), nil)
    	if err != nil {
    		return "", fmt.Errorf("new request err (/ldap): %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    	"github.com/minio/minio/internal/jwt"
    )
    
    const (
    	// Minimum length for MinIO access key.
    	accessKeyMinLen = 3
    
    	// Maximum length for MinIO access key.
    	// There is no max length enforcement for access keys
    	accessKeyMaxLen = 20
    
    	// Minimum length for MinIO secret key for both server
    	secretKeyMinLen = 8
    
    	// Maximum secret key length for MinIO, this
    	// is used when autogenerating new credentials.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. internal/logger/logger.go

    	// as "{path#}/src/" into trimStrings
    	for _, goPathString := range goPathList {
    		trimStrings = append(trimStrings, filepath.Join(goPathString, "src")+string(filepath.Separator))
    	}
    
    	for _, goRootString := range goRootList {
    		trimStrings = append(trimStrings, filepath.Join(goRootString, "src")+string(filepath.Separator))
    	}
    
    	for _, defaultgoPathString := range defaultgoPathList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top