Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for State (0.12 sec)

  1. cmd/bootstrap-peer-server.go

    		var wg sync.WaitGroup
    		wg.Add(len(clnts))
    		onlineServers = 0
    		for _, clnt := range clnts {
    			go func(clnt *bootstrapRESTClient) {
    				defer wg.Done()
    
    				if clnt.gridConn.State() != grid.StateConnected {
    					mu.Lock()
    					offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected))
    					mu.Unlock()
    					return
    				}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. internal/http/server.go

    	// Take a copy of server fields.
    	var tlsConfig *tls.Config
    	if srv.TLSConfig != nil {
    		tlsConfig = srv.TLSConfig.Clone()
    	}
    	handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race
    
    	// Create new HTTP listener.
    	var listener *httpListener
    	listener, listenErrs := newHTTPListener(
    		listenCtx,
    		srv.Addrs,
    		srv.TCPOptions,
    	)
    
    	var interfaceFound bool
    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. cmd/object-api-errors.go

    	return "Transition storage class not found "
    }
    
    // InvalidObjectState restore-object doesn't apply for the current state of the object.
    type InvalidObjectState GenericError
    
    func (e InvalidObjectState) Error() string {
    	return "The operation is not valid for the current state of the object " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // Bucket related errors.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    		return &resp, nil
    	}
    	return getMetacacheListingRPC.Call(ctx, client.gridConn(), &o)
    }
    
    // UpdateMetacacheListing - update an existing metacache it will unconditionally be updated to the new state.
    func (client *peerRESTClient) UpdateMetacacheListing(ctx context.Context, m metacache) (metacache, error) {
    	if client == nil {
    		return localMetacacheMgr.updateCacheEntry(m)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/erasure.go

    	}
    	return dataCount
    }
    
    func diskErrToDriveState(err error) (state string) {
    	switch {
    	case errors.Is(err, errDiskNotFound) || errors.Is(err, context.DeadlineExceeded):
    		state = madmin.DriveStateOffline
    	case errors.Is(err, errCorruptedFormat) || errors.Is(err, errCorruptedBackend):
    		state = madmin.DriveStateCorrupt
    	case errors.Is(err, errUnformattedDisk):
    		state = madmin.DriveStateUnformatted
    	case errors.Is(err, errDiskAccessDenied):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  6. internal/rest/client.go

    		return true
    	}
    	return false
    }
    
    // MarkOffline - will mark a client as being offline and spawns
    // a goroutine that will attempt to reconnect if HealthCheckFn is set.
    // returns true if the node changed state from online to offline
    func (c *Client) MarkOffline(err error) bool {
    	c.Lock()
    	c.lastErr = err
    	c.lastErrTime = time.Now()
    	atomic.StoreInt64(&c.lastConn, time.Now().UnixNano())
    	c.Unlock()
    
    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)
  7. cmd/server-startup-msg_test.go

    		{Endpoint: "http://127.0.0.1:9000/data/1/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9000/data/2/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9000/data/3/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9000/data/4/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9001/data/1/", State: madmin.DriveStateOk},
    		{Endpoint: "http://127.0.0.1:9001/data/2/", State: madmin.DriveStateOk},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/state/edit").HandlerFunc(adminMiddleware(adminAPI.SRStateEdit))
    
    		if globalIsDistErasure {
    			// Top locks
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. internal/bucket/versioning/versioning.go

    	"io"
    	"strings"
    
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    // State - enabled/disabled/suspended states
    // for multifactor and status of versioning.
    type State string
    
    // Various supported states
    const (
    	Enabled State = "Enabled"
    	// Disabled  State = "Disabled" only used by MFA Delete not supported yet.
    	Suspended State = "Suspended"
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test_helpers.go

    				{
    					Name: "payload-container",
    					State: corev1.ContainerState{
    						Waiting: &corev1.ContainerStateWaiting{
    							Reason: "PodInitializing",
    						},
    					},
    				},
    			},
    		},
    	}
    	return pod
    }
    
    // Container specs
    var (
    	brokenInitContainerWaiting = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Waiting: &corev1.ContainerStateWaiting{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top