Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for unavailable (0.24 sec)

  1. cmd/healthcheck-handler.go

    	"github.com/minio/minio/internal/kms"
    )
    
    const unavailable = "offline"
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    	"Request Header Fields Too Large": http.StatusRequestHeaderFieldsTooLarge,
    	"Unavailable For Legal Reasons":   http.StatusUnavailableForLegalReasons,
    	"Internal Server Error":           http.StatusInternalServerError,
    	"Not Implemented":                 http.StatusNotImplemented,
    	"Bad Gateway":                     http.StatusBadGateway,
    	"Service Unavailable":             http.StatusServiceUnavailable,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  3. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE")
    
    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/erasure.go

    // list all errors that can be ignored in a bucket metadata operation.
    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    // OfflineDisk represents an unavailable disk.
    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  5. internal/s3select/unused-errors.go

    //
    // //////////////////////////////////////////////////////////////////////
    func errBusy(err error) *s3Error {
    	return &s3Error{
    		code:       "Busy",
    		message:    "The service is unavailable. Please retry.",
    		statusCode: 503,
    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    					podName1, podNamespace1, podName2, podNamespace2)
    				c.Println(report)
    				returnErr = nil
    			} else {
    				report := fmt.Sprintf("Both [%s.%s] and [%s.%s] have the non identical ROOTCA, theoretically the connectivity between them is unavailable",
    					podName1, podNamespace1, podName2, podNamespace2)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. internal/jwt/parser.go

    	}
    
    	for _, signer := range hmacSigners {
    		if string(alg) == signer.Name {
    			return signer, nil
    		}
    	}
    
    	return nil, jwtgo.NewValidationError(fmt.Sprintf("signing method (%s) is unavailable.", string(alg)),
    		jwtgo.ValidationErrorUnverifiable)
    }
    
    // ParseWithClaims - parse the token string, valid methods.
    func ParseWithClaims(tokenStr string, claims *MapClaims, fn func(*MapClaims) ([]byte, error)) error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  8. internal/http/server.go

    			listenErrCallback(srv.Addrs[i], listenErrs[i])
    		} else {
    			interfaceFound = true
    		}
    	}
    	if !interfaceFound {
    		return nil, errors.New("no available interface found")
    	}
    
    	// Wrap given handler to do additional
    	// * return 503 (service unavailable) if the server in shutdown.
    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			continue
    		}
    
    		if talign > 0 && f.ByteOffset%talign != 0 {
    			// Drop misaligned fields, the same way we drop integer bit fields.
    			// The goal is to make available what can be made available.
    			// Otherwise one bad and unneeded field in an otherwise okay struct
    			// makes the whole program not compile. Much of the time these
    			// structs are in system headers that cannot be corrected.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    		}
    		b.n -= n
    		b.err = err
    		return err
    	}
    	b.n = 0
    	return nil
    }
    
    // Available returns how many bytes are unused in the buffer.
    func (b *Writer) Available() int { return len(b.buf) - b.n }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    // passed to an immediately succeeding [Writer.Write] call.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top