Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Post (0.23 sec)

  1. cmd/admin-handlers.go

    			// In FS mode the drive names don't include the host.
    			// So mapping just the host should be sufficient.
    			hostAnonymizer[url.Host] = "server1"
    		}
    	}
    	return hostAnonymizer
    }
    
    // anonymizeHost - Add entries related to given endpoint in the host anonymizer map
    // The health report data can contain the hostname in various forms e.g. host, host:port,
    // host:port/drivepath, full url (http://host:port/drivepath)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. cmd/object-api-interface.go

    	VersionID            string    // Specifies the versionID which needs to be overwritten or read
    	MTime                time.Time // Is only set in POST/PUT operations
    	Expires              time.Time // Is only used in POST/PUT operations
    
    	DeleteMarker            bool // Is only set in DELETE operations for delete marker replication
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/utils.go

    	globalProfilerMu sync.Mutex
    )
    
    // dump the request into a string in JSON format.
    func dumpRequest(r *http.Request) string {
    	header := r.Header.Clone()
    	header.Set("Host", r.Host)
    	// Replace all '%' to '%%' so that printer format parser
    	// to ignore URL encoded values.
    	rawURI := strings.ReplaceAll(r.RequestURI, "%", "%%")
    	req := struct {
    		Method     string      `json:"method"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  4. cmd/server-main.go

    			return
    		}
    		ip := "127.0.0.1"
    		host, _ := mustSplitHostPort(globalLocalNodeName)
    		if host != "" {
    			if net.ParseIP(host) != nil {
    				ip = host
    			} else {
    				ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
    				defer cancel()
    
    				haddrs, err := globalDNSCache.LookupHost(ctx, host)
    				if err == nil {
    					ip = haddrs[0]
    				}
    			}
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
  5. cmd/endpoint.go

    			if endpoint.IsLocal && endpoint.Host != "" {
    				u := &url.URL{
    					Scheme: endpoint.Scheme,
    					Host:   endpoint.Host,
    				}
    				return u.String()
    			}
    		}
    	}
    	host := globalMinioHost
    	if host == "" {
    		host = sortIPs(localIP4.ToSlice())[0]
    	}
    	return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort))
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  6. cmd/warm-backend-s3.go

    	}
    	opts := &minio.Options{
    		Creds:     creds,
    		Secure:    u.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	}
    	client, err := minio.New(u.Host, opts)
    	if err != nil {
    		return nil, err
    	}
    	client.SetAppInfo(fmt.Sprintf("s3-tier-%s", tier), ReleaseTag)
    
    	core := &minio.Core{Client: client}
    	return &warmBackendS3{
    		client:       client,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/globals.go

    	}
    
    	// MinIO local server address (in `host:port` format)
    	globalMinioAddr = ""
    
    	// MinIO default port, can be changed through command line.
    	globalMinioPort        = GlobalMinioDefaultPort
    	globalMinioConsolePort = "13333"
    
    	// Holds the host that was passed using --address
    	globalMinioHost = ""
    	// Holds the host that was passed using --console-address
    	globalMinioConsoleHost = ""
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    // in front of MinIO.
    func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error {
    	reqURL := &url.URL{
    		Scheme: epURL.Scheme,
    		Host:   epURL.Host,
    		Path:   healthCheckPathPrefix + healthCheckReadinessPath,
    	}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 112K bytes
    - Viewed (1)
  9. cmd/warm-backend-minio.go

    	opts := &minio.Options{
    		Creds:           creds,
    		Secure:          u.Scheme == "https",
    		Transport:       globalRemoteTargetTransport,
    		TrailingHeaders: true,
    	}
    	client, err := minio.New(u.Host, opts)
    	if err != nil {
    		return nil, err
    	}
    	client.SetAppInfo(fmt.Sprintf("minio-tier-%s", tier), ReleaseTag)
    
    	core := &minio.Core{Client: client}
    	return &warmBackendMinIO{
    		warmBackendS3{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top