Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for heddle (0.45 sec)

  1. docs/bucket/notifications/README.md

     log.Println("Connected")
    
     // Subscribe to subject
     log.Printf("Subscribing to subject 'bucketevents'\n")
     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
      log.Printf("Received message '%s\n", string(msg.Data)+"'")
     })
    
     // Keep the connection alive
     runtime.Goexit()
    }
    ```
    
    ```
    go run nats.go
    2016/10/12 06:39:18 Connected
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  2. cmd/bucket-handlers.go

    	if checksum != nil && checksum.Valid() {
    		if err = hashReader.AddChecksumNoTrailer(formValues, false); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// Handle policy if it is set.
    	if len(policyBytes) > 0 {
    		postPolicyForm, err := parsePostPolicyForm(bytes.NewReader(policyBytes))
    		if err != nil {
    			errAPI := errorCodes.ToAPIErr(ErrPostPolicyConditionInvalidFormat)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. internal/crypto/header.go

    	h.Del(xhttp.AmzMetaUnencryptedContentLength)
    	h.Del(xhttp.AmzMetaUnencryptedContentMD5)
    }
    
    // SSECopy represents AWS SSE-C for copy requests. It provides
    // functionality to handle SSE-C copy requests.
    var SSECopy = ssecCopy{}
    
    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/crypto/sse-c.go

    	"net/http"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    )
    
    type ssec struct{}
    
    var (
    	// SSEC represents AWS SSE-C. It provides functionality to handle
    	// SSE-C requests.
    	SSEC = ssec{}
    
    	_ Type = SSEC
    )
    
    // String returns the SSE domain as string. For SSE-C the
    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    	// metrics required a list of buckets to be passed to the loader, and the list
    	// of buckets is not known until the request is made. So we keep a separate
    	// map for bucket metrics and handle them specially.
    
    	// Add the serverName and poolIndex labels to all non-cluster metrics.
    	//
    	// Also create metric group maps and set the cache.
    	metricsCache := newMetricsCache()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    	// `e` is an aggregation function.
    
    	var val *Value
    	var err error
    	funcName := e.getFunctionName()
    	if aggFnCount == funcName {
    		if e.Count.StarArg {
    			// Handle COUNT(*)
    			e.aggregate.runningCount++
    			return nil
    		}
    
    		val, err = e.Count.ExprArg.evalNode(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	} else {
    		// Evaluate the (only) argument
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    		return result
    
    	case sqlFnDateDiff:
    		result.combine(e.DateDiff.Timestamp1.analyze(s))
    		result.combine(e.DateDiff.Timestamp2.analyze(s))
    		return result
    
    	// Handle aggregation function calls
    	case aggFnAvg, aggFnMax, aggFnMin, aggFnSum, aggFnCount:
    		// Initialize accumulator
    		e.aggregate = newAggVal(funcName)
    
    		var exprA qProp
    		if funcName == aggFnCount {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    			logger.Fatal(err, "invalid --logrorate-dir option")
    		}
    	})
    
    	// Always load ENV variables from files first.
    	loadEnvVarsFromFiles()
    
    	// Handle all server command args and build the disks layout
    	bootstrapTrace("serverHandleCmdArgs", func() {
    		err := buildServerCtxt(ctx, &globalServerCtxt)
    		logger.FatalIf(err, "Unable to prepare the list of endpoints")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  9. cmd/bucket-metadata.go

    		bucketSSEConfig,
    		bucketTaggingConfig,
    		bucketReplicationConfig,
    		bucketTargetsFile,
    		objectLockConfig,
    	}
    
    	configs := make(map[string][]byte, len(legacyConfigs))
    
    	// Handle migration from lockEnabled to newer format.
    	if b.LockEnabled {
    		configs[objectLockConfig] = enabledBucketObjectLockConfig
    		b.LockEnabled = false // legacy value unset it
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    	} else {
    		newReqInfo = logger.NewReqInfo("", "", globalDeploymentID(), "", "Heal", bucket, object)
    	}
    	healCtx := logger.SetReqInfo(GlobalContext, newReqInfo)
    
    	// Healing directories handle it separately.
    	if HasSuffix(object, SlashSeparator) {
    		hr, err := er.healObjectDir(healCtx, bucket, object, opts.DryRun, opts.Remove)
    		return hr, toObjectErr(err, bucket, object)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top