Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for wrapping (0.19 sec)

  1. internal/deadlineconn/deadlineconn.go

    }
    
    // WithWriteDeadline sets a new write side net.Conn deadline.
    func (c *DeadlineConn) WithWriteDeadline(d time.Duration) *DeadlineConn {
    	c.writeDeadline = d
    	return c
    }
    
    // New - creates a new connection object wrapping net.Conn with deadlines.
    func New(c net.Conn) *DeadlineConn {
    	return &DeadlineConn{
    		Conn: c,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Nov 05 18:09:21 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. cmd/api-router.go

    			tracedHandler = httpTraceHdrs(f)
    		} else {
    			tracedHandler = httpTraceAll(f)
    		}
    
    		// Skip wrapping with the gzip middleware if specified.
    		var gzippedHandler http.HandlerFunc = tracedHandler
    		if !handlerFlags.has(noGZS3HFlag) {
    			gzippedHandler = gzipHandler(gzippedHandler)
    		}
    
    		// Skip wrapping with throttling middleware if specified.
    		var throttledHandler http.HandlerFunc = gzippedHandler
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    // where the parent user is the DN of the actual LDAP user. The parent user
    // itself cannot login, but the policy associated with them determines the base
    // policy for the STS credential. The policy mapping can be updated by the
    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. docs/metrics/prometheus/README.md

    ```
    
    ##### Node (optional)
    
    Optionally you can also collect per node metrics. This needs to be done on a per server instance.
    The scrape configurations should use all the servers under `targets` so that graphing systems like
    grafana can visualize them for all the nodes
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      metrics_path: /minio/v2/metrics/node
      scheme: http
      static_configs:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

            "description": ""
        }
    }
    `,
    		// Built-in user-to-policies mapping should be imported without errors
    		// even if LDAP is enabled.
    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    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)
  6. internal/config/identity/openid/openid.go

    			Value: "",
    		},
    		config.KV{
    			Key:   KeyCloakAdminURL,
    			Value: "",
    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    	return nopCloser{w}
    }
    
    // SkipReader skips a given number of bytes and then returns all
    // remaining data.
    type SkipReader struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	if ok {
    		if !u.Credentials.IsValid() {
    			return nil, time.Time{}, nil
    		}
    	}
    
    	// For internal IDP regular/service account user accounts, the policy
    	// mapping is iamUserPolicyMap. For STS accounts, the parent user would be
    	// passed here and we lookup the mapping in iamSTSPolicyMap.
    	mp, ok := c.iamUserPolicyMap.Load(name)
    	if !ok {
    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)
  9. cmd/handler-utils.go

    	"X-Minio-Replication-Server-Side-Encryption-Iv",
    	"X-Minio-Replication-Encrypted-Multipart",
    	"X-Minio-Replication-Actual-Object-Size",
    	// Add more supported headers here.
    }
    
    // mapping of internal headers to allowed replication headers
    var validSSEReplicationHeaders = map[string]string{
    	"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  10. docs/site-replication/run-multi-site-ldap.sh

    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio2 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio3 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
Back to top