Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for connected (0.15 sec)

  1. internal/rest/client.go

    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    func NewClient(uu *url.URL, tr http.RoundTripper, newAuthToken func(aud string) string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  2. docs/ftp/README.md

    ...
    ...
    ```
    
    Following example shows connecting via ftp client using `minioadmin` credentials, and list a bucket named `runner`:
    
    ```
    ftp localhost -P 8021
    Connected to localhost.
    220 Welcome to MinIO FTP Server
    Name (localhost:user): minioadmin
    331 User name ok, password required
    Password:
    230 Password ok, continue
    Remote system type is UNIX.
    Using binary mode to transfer files.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/site-replication/README.md

    ## Configuring Site Replication
    
    - Configure an alias in `mc` for each of the sites. For example if you have three MinIO sites, you may run:
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/grid/manager.go

    			writeErr(fmt.Errorf("unexpected connect op: %v", message.Op))
    			return
    		}
    		var cReq connectReq
    		_, err = cReq.UnmarshalMsg(message.Payload)
    		if err != nil {
    			writeErr(fmt.Errorf("error parsing connectReq: %w", err))
    			return
    		}
    		remote := m.targets[cReq.Host]
    		if remote == nil {
    			writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host))
    			return
    		}
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    		return err
    	}
    	// Signal that we are reconnected, update state and handle messages.
    	// Prevent other connections from connecting while we process.
    	c.reconnectMu.Lock()
    	if c.remoteID != nil {
    		c.reconnected()
    	}
    	rid := uuid.UUID(req.ID)
    	c.remoteID = &rid
    
    	// Handle incoming messages until disconnect.
    	c.handleMessages(ctx, conn)
    	return nil
    }
    
    // reconnected signals the connection has been reconnected.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether RPC client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    	return client.gridConn.State() == grid.StateConnected
    }
    
    // LastConn - returns when the disk is seen to be connected the last time
    func (client *storageRESTClient) LastConn() time.Time {
    	return client.restClient.LastConn()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, rptData)
    }
    
    // ReplicationDiffHandler - POST returns info on unreplicated versions for a remote target ARN
    // to the connected HTTP client.
    func (a adminAPIHandlers) ReplicationDiffHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/README.md

    ```
    
    #### 3.2 Public Prometheus config
    
    If Prometheus endpoint authentication type is set to `public`. Following prometheus config is sufficient to start scraping metrics data from MinIO.
    This can be collected from any server once per collection.
    
    ##### Cluster
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      metrics_path: /minio/v2/metrics/cluster
      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)
  9. cmd/iam.go

    		}
    		parentUserToCredsMap[cred.ParentUser] = append(parentUserToCredsMap[cred.ParentUser], cred)
    
    	}
    
    	// 2. Query LDAP server for groups of the LDAP users collected.
    	updatedGroups, err := sys.LDAPConfig.LookupGroupMemberships(parentUsers, parentUserToLDAPUsernameMap)
    	if err != nil {
    		// Log and return on error - perhaps it'll work the next time.
    		iamLogIf(GlobalContext, err)
    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)
  10. cmd/storage-interface.go

    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top