Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 417 for geturl (0.18 sec)

  1. cmd/update.go

    	// Check if we are in DCOS environment, return
    	// deployment guide for update procedures.
    	if IsDCOS() {
    		return mesosDeploymentDoc
    	}
    
    	// Check if we are in kubernetes environment, return
    	// deployment guide for update procedures.
    	if IsKubernetes() {
    		return kubernetesDeploymentDoc
    	}
    
    	// Check if we are docker environment, return docker update command
    	if IsDocker() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. internal/config/dns/operator_dns.go

    	if err != nil {
    		return err
    	}
    	if err = c.addAuthHeader(req); err != nil {
    		return err
    	}
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return fmt.Errorf("request to delete the service for bucket %s, failed with status %s", bucket, resp.Status)
    	}
    	return nil
    }
    
    // DeleteRecord - Removes a specific DNS entry
    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)
  3. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    // Validate NATSArgs fields
    func (n NATSArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.Address.IsEmpty() {
    		return errors.New("empty address")
    	}
    
    	if n.Subject == "" {
    		return errors.New("empty subject")
    	}
    
    	if n.ClientCert != "" && n.ClientKey == "" || n.ClientCert == "" && n.ClientKey != "" {
    		return errors.New("cert and key must be specified as a pair")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		if globalTierConfigMgr.Empty() {
    			return
    		}
    
    		dui, err := loadDataUsageFromBackend(ctx, objLayer)
    		if err != nil {
    			metricsLogIf(ctx, err)
    			return
    		}
    		// data usage has not captured any tier stats yet.
    		if dui.TierStats == nil {
    			return
    		}
    
    		return dui.tierMetrics()
    	})
    	return mg
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			rf, err := disks[index].ReadXL(ctx, bucket, object, readData)
    			if err != nil {
    				return err
    			}
    			rawFileInfos[index] = rf
    			return nil
    		}, index)
    	}
    
    	return rawFileInfos, g.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. internal/s3select/sql/jsonpath.go

    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			if len(p[1:]) > 0 {
    				return nil, false, errWildcardObjectUsageInvalid
    			}
    
    			return kvs, false, nil
    		case simdjson.Object:
    			if len(p[1:]) > 0 {
    				return nil, false, errWildcardObjectUsageInvalid
    			}
    
    			return kvs, false, nil
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/tier-journal.go

    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (jd *tierDiskJournal) OpenRO() (io.ReadCloser, error) {
    	file, err := Open(jd.ReadOnlyPath())
    	if err != nil {
    		return nil, err
    	}
    
    	// read journal version header
    	var data [tierJournalHdrLen]byte
    	if _, err := io.ReadFull(file, data[:]); err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwt.go

    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    	defaultExpiryDuration, err := GetDefaultExpiration(dsecs)
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  10. cmd/erasure-server-pool-rebalance.go

    	defer z.rebalMu.RUnlock()
    
    	r := z.rebalMeta
    	if r == nil {
    		return "", false
    	}
    
    	ps := r.PoolStats[poolIdx]
    	if ps == nil {
    		return "", false
    	}
    
    	if ps.Info.Status == rebalCompleted || !ps.Participating {
    		return "", false
    	}
    
    	if len(ps.Buckets) == 0 {
    		return "", false
    	}
    
    	return ps.Buckets[0], true
    }
    
    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)
Back to top