Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for Status (0.15 sec)

  1. internal/kms/status-manager.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // StatusManager is the generic interface that handles KMS status operations
    type StatusManager interface {
    	// Version retrieves version information
    	Version(ctx context.Context) (string, error)
    	// APIs retrieves a list of supported API endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule.go

    package lifecycle
    
    import (
    	"bytes"
    	"encoding/xml"
    )
    
    // Status represents lifecycle configuration status
    type Status string
    
    // Supported status types
    const (
    	Enabled  Status = "Enabled"
    	Disabled Status = "Disabled"
    )
    
    // Rule - a rule for lifecycle configuration.
    type Rule struct {
    	XMLName             xml.Name            `xml:"Rule"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    	                 </LifecycleConfiguration>`
    	delMarkerILM := `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration</ID>
                                  <Filter></Filter>
                                  <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    				quit = true
    				now := time.Now()
    				var status rebalStatus
    
    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. internal/bucket/replication/datatypes.go

    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. internal/grid/trace.go

    	start := time.Now()
    	body := bytesOrLength(req)
    	resp, err := c.roundtrip(h, req)
    	end := time.Now()
    	status := http.StatusOK
    	errString := ""
    	if err != nil {
    		errString = err.Error()
    		if IsRemoteErr(err) == nil {
    			status = http.StatusInternalServerError
    		} else {
    			status = http.StatusBadRequest
    		}
    	}
    
    	prefix := t.Prefix
    	if p := handlerPrefixes[h]; p != "" {
    		prefix = p
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    // newDiskHealthTracker creates a new disk health tracker.
    func newDiskHealthTracker() *diskHealthTracker {
    	d := diskHealthTracker{
    		lastSuccess: time.Now().UnixNano(),
    		lastStarted: time.Now().UnixNano(),
    	}
    	d.status.Store(diskHealthOK)
    	return &d
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	c.Assert(err, nil)
    	// assert the HTTP response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// initiate anonymous HTTP request to fetch the object which does not exist. We need to return AccessDenied.
    	response, err = s.client.Get(getGetObjectURL(s.endPoint, bucketName, objectName+".1"))
    	c.Assert(err, nil)
    	// assert the http response status code.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. internal/config/dns/operator_dns.go

    		if resp.StatusCode == http.StatusConflict {
    			return ErrBucketConflict(Error{bucket, errors.New(errorString)})
    		}
    		return newError(bucket, fmt.Errorf("service create for bucket %s, failed with status %s, error %s", bucket, resp.Status, errorString))
    	}
    	return nil
    }
    
    func newError(bucket string, err error) error {
    	e := Error{bucket, err}
    	if strings.Contains(err.Error(), "invalid bucket name") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. cmd/kms-router.go

    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    
    	for _, version := range KMSVersions {
    		// KMS Status APIs
    		kmsRouter.Methods(http.MethodGet).Path(version + "/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSStatusHandler)))
    		kmsRouter.Methods(http.MethodGet).Path(version + "/metrics").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSMetricsHandler)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top