Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for angular (0.29 sec)

  1. cmd/sts-handlers.go

    		if err != nil {
    			return "", err
    		}
    		return c.SecretKey, nil
    	}
    	return secret, nil
    }
    
    // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
    // credentials for regular users on Minio.
    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRole")
    
    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)
  2. docs/sts/ldap.go

    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	if bucketToList == "" {
    		bucketToList = ldapUsername
    	}
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. cmd/os_windows.go

    					return nil
    				}
    				return err
    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. cmd/iam-object-store.go

    			return fmt.Errorf("unable to load the policy doc `%s`: %w", policyName, err)
    		}
    	}
    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    
    	if iamOS.usersSysType == MinIOUsersSysType {
    		bootstrapTraceMsg("loading regular IAM users")
    		regUsersList := listedConfigItems[usersListKey]
    		for _, item := range regUsersList {
    			userName := path.Dir(item)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication.go

    			case obj.VersionID != "":
    				// check MinIO extension for versioned deletes
    				return rule.DeleteReplication.Status == Enabled
    			default:
    				return rule.DeleteMarkerReplication.Status == Enabled
    			}
    		} // regular object/metadata replication
    		return rule.MetadataReplicate(obj)
    	}
    	return false
    }
    
    // HasActiveRules - returns whether replication policy has active rules
    // Optionally a prefix can be supplied.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    			t.Fatalf("Unable to create a symlink, %s", err)
    		}
    		// Add to entries.
    		entries = append(entries, name1)
    		// Symlinks are preserved for regular files
    		entries = append(entries, name2)
    	}
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    		t.Fatalf("Unable to create \"mydir\", %s", err)
    	}
    	entries = append(entries, "mydir/")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    				u.Path = u.Path[1:]
    			}
    		}
    
    	} else {
    		// Only check if the arg is an ip address and ask for scheme since its absent.
    		// localhost, example.com, any FQDN cannot be disambiguated from a regular file path such as
    		// /mnt/export1. So we go ahead and start the minio server in FS modes in these cases.
    		if isHostIP(arg) {
    			return ep, fmt.Errorf("invalid URL endpoint format: missing scheme http or https")
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  8. cmd/utils.go

    func iamPolicyClaimNameOpenID() string {
    	return globalIAMSys.OpenIDConfig.GetIAMPolicyClaimName()
    }
    
    func iamPolicyClaimNameSA() string {
    	return "sa-policy"
    }
    
    // On MinIO a directory object is stored as a regular object with "__XLDIR__" suffix.
    // For ex. "prefix/" is stored as "prefix__XLDIR__"
    func encodeDirObject(object string) string {
    	if HasSuffix(object, slashSeparator) {
    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)
  9. internal/crypto/header.go

    // functionality to handle SSE-C copy requests.
    var SSECopy = ssecCopy{}
    
    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    func (ssecCopy) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok {
    		return true
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/batch-expire_test.go

      bucket: mybucket # Bucket where this batch job will expire matching objects from
      prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
      rules:
        - type: object  # regular objects with zero or more older versions
          name: NAME # match object names that satisfy the wildcard expression.
          olderThan: 70h # match objects older than this value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top