Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for preact (1.69 sec)

  1. cmd/http-tracer.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/mcontext"
    )
    
    var ldapPwdRegex = regexp.MustCompile("(^.*?)LDAPPassword=([^&]*?)(&(.*?))?$")
    
    // redact LDAP password if part of string
    func redactLDAPPwd(s string) string {
    	parts := ldapPwdRegex.FindStringSubmatch(s)
    	if len(parts) > 3 {
    		return parts[1] + "LDAPPassword=*REDACTED*" + parts[3]
    	}
    	return s
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. cni/pkg/repair/netns.go

    		return nil, fmt.Errorf("no routes found for %s", ip)
    	}
    
    	linkIndex := routes[0].LinkIndex
    	return netlink.LinkByIndex(linkIndex)
    }
    
    // getPodNetNs finds the network namespace for a given pod. There is not a great way to do this. Network namespaces live
    // under the procfs, /proc/<pid>/ns/net. In majority of cases, this is not used directly, but is rather bind mounted to
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	defer cancel()
    
    	bucket := getRandomBucketName()
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{ObjectLocking: true})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create policy, user and associate policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
      "Version": "2012-10-17",
      "Statement": [
       {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	defer cancel()
    
    	err := s.client.MakeBucket(ctx, "public", minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	err = s.client.MakeBucket(ctx, "private", minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	pubPolicyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. internal/config/config.go

    	}
    	if !isFound {
    		return
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    	if redactSecrets {
    		// If the configuration parameter is a secret, make sure to redact it when
    		// we return.
    		helpKV, _ := HelpSubSysMap[subSys].Lookup(cfgParam)
    		if helpKV.Secret {
    			defer func() {
    				value = ""
    				isRedacted = true
    			}()
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top