Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for addArg (0.14 sec)

  1. internal/event/target/webhook.go

    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    	target.addr = args.Endpoint.Host
    	if _, _, err := net.SplitHostPort(args.Endpoint.Host); err != nil && strings.Contains(err.Error(), "missing port in address") {
    		switch strings.ToLower(args.Endpoint.Scheme) {
    		case "http":
    			target.addr += ":80"
    		case "https":
    			target.addr += ":443"
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. internal/http/server.go

    func (srv *Server) UseTCPOptions(opts TCPOptions) *Server {
    	srv.TCPOptions = opts
    	return srv
    }
    
    // NewServer - creates new HTTP server using given arguments.
    func NewServer(addrs []string) *Server {
    	httpServer := &Server{
    		Addrs: addrs,
    	}
    	// This is not configurable for now.
    	httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes
    	return httpServer
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/rest/rpc-stats.go

    func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) {
    	var dialStart, dialEnd int64
    
    	trace := &httptrace.ClientTrace{
    		ConnectStart: func(network, addr string) {
    			atomic.StoreInt64(&dialStart, time.Now().UnixNano())
    		},
    		ConnectDone: func(network, addr string, err error) {
    			if err == nil {
    				atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
    			}
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils.go

    			//   expectation  =  "100-continue" | expectation-extension
    			//
    			// So it safe to assume that '100-continue' is what would
    			// be sent, for the time being keep this work around.
    			// Adding a *TODO* to remove this later when Golang server
    			// doesn't filter out the 'Expect' header.
    			extractedSignedHeaders.Set(header, "100-continue")
    		case "host":
    			// Go http server removes "host" from Request.Header
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	MINIO_CI_CD=1 ./minio.${OLD_VERSION} server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    	mc alias set old-minio http://localhost:9000 minioadmin minioadmin
    	mc idp ldap add old-minio \
    		server_addr=localhost:1389 \
    		server_insecure=on \
    		lookup_bind_dn=cn=admin,dc=min,dc=io \
    		lookup_bind_password=admin \
    		user_dn_search_base_dn=dc=min,dc=io \
    		user_dn_search_filter="(uid=%s)" \
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. cmd/globals.go

    }
    
    type disksLayout struct {
    	legacy bool
    	pools  []poolDisksLayout
    }
    
    type serverCtxt struct {
    	JSON, Quiet               bool
    	Anonymous                 bool
    	StrictS3Compat            bool
    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    	RootUser, RootPwd string
    
    	FTP  []string
    	SFTP []string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. helm-releases/minio-2.0.0.tgz

    user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to Minio instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }}...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 26 07:36:46 GMT 2021
    - 13.6K bytes
    - Viewed (0)
  9. helm-releases/minio-1.0.3.tgz

    user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to Minio instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }}...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 24 19:04:07 GMT 2021
    - 13.6K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    	ErrTransitionStorageClassNotFoundError
    	// MinIO storage class error codes
    	ErrInvalidStorageClass
    	ErrBackendDown
    	// Add new extended error codes here.
    	// Please open a https://github.com/minio/minio/issues before adding
    	// new error codes here.
    
    	ErrMalformedJSON
    	ErrAdminNoSuchUser
    	ErrAdminNoSuchUserLDAPWarn
    	ErrAdminLDAPExpectedLoginName
    	ErrAdminNoSuchGroup
    	ErrAdminGroupNotEmpty
    	ErrAdminGroupDisabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top