Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Unavailable (0.28 sec)

  1. 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 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    						logger.Info("   - Drive: %s", disk.String())
    					}
    				})
    				logger.Info(color.Yellow("WARNING:")+" Host %v has more than %v drives of set. "+
    					"A host failure will result in data becoming unavailable.", host, wantAtMost)
    			}
    		}
    	}
    
    	// Save formats `format.json` across all disks.
    	if err := saveFormatErasureAll(ctx, storageDisks, formats); err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBusy: {
    		Code:           "ServerBusy",
    		Description:    "The service is unavailable. Please retry.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrUnauthorizedAccess: {
    		Code:           "UnauthorizedAccess",
    		Description:    "You are not authorized to perform this operation",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  9. internal/bucket/bandwidth/reader.go

    	}
    	if r.lastErr != nil {
    		err = r.lastErr
    		return
    	}
    	b := r.throttle.Burst()  // maximum available tokens
    	need := len(buf)         // number of bytes requested by caller
    	hdr := r.opts.HeaderSize // remaining header bytes
    	var tokens int           // number of tokens to request
    
    	if hdr > 0 { // available tokens go towards header first
    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    	// Log unhandled errors.
    	if _, ok := err.(BucketPolicyNotFound); !ok {
    		internalLogIf(GlobalContext, err, logger.WarningKind)
    	}
    
    	// As policy is not available for given bucket name, returns IsOwner i.e.
    	// operation is allowed only for owner.
    	return args.IsOwner
    }
    
    // NewPolicySys - creates new policy system.
    func NewPolicySys() *PolicySys {
    	return &PolicySys{}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top