Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for sargument (0.21 sec)

  1. internal/event/target/webhook.go

    	EnvWebhookQueueLimit = "MINIO_NOTIFY_WEBHOOK_QUEUE_LIMIT"
    	EnvWebhookClientCert = "MINIO_NOTIFY_WEBHOOK_CLIENT_CERT"
    	EnvWebhookClientKey  = "MINIO_NOTIFY_WEBHOOK_CLIENT_KEY"
    )
    
    // WebhookArgs - Webhook target arguments.
    type WebhookArgs struct {
    	Enable     bool            `json:"enable"`
    	Endpoint   xnet.URL        `json:"endpoint"`
    	AuthToken  string          `json:"authToken"`
    	Transport  *http.Transport `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    	r, err := NewReader(context.Background(), src, size, md5Hex, sha256Hex, actualSize)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return r
    }
    
    // Tests NewReader() constructor with invalid arguments.
    func TestHashReaderInvalidArguments(t *testing.T) {
    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. internal/event/target/kafka.go

    	"none":   sarama.CompressionNone,
    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    	"lz4":    sarama.CompressionLZ4,
    	"zstd":   sarama.CompressionZSTD,
    }
    
    // KafkaArgs - Kafka target arguments.
    type KafkaArgs struct {
    	Enable     bool        `json:"enable"`
    	Brokers    []xnet.Host `json:"brokers"`
    	Topic      string      `json:"topic"`
    	QueueDir   string      `json:"queueDir"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    	EnvNATSStreamingMaxPubAcksInFlight = "MINIO_NOTIFY_NATS_STREAMING_MAX_PUB_ACKS_IN_FLIGHT"
    
    	// Jetstream constants
    	EnvNATSJetStream = "MINIO_NOTIFY_NATS_JETSTREAM"
    )
    
    // NATSArgs - NATS target arguments.
    type NATSArgs struct {
    	Enable          bool      `json:"enable"`
    	Address         xnet.Host `json:"address"`
    	Subject         string    `json:"subject"`
    	Username        string    `json:"username"`
    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. src/bytes/bytes.go

    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    // A nil argument is equivalent to an empty slice.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. cmd/encryption-v1_test.go

    	// of the unit tests.
    	//
    	// `s` gives the decrypted part sizes, and the other
    	// parameters describe the desired read segment. When
    	// `isFromEnd` is true, `skipLen` argument is ignored.
    	decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) {
    		oSize := lsum(s)
    		if isFromEnd {
    			skipLen = oSize - readLen
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  7. cmd/globals.go

    	// All unique drives for this deployment
    	globalEndpoints EndpointServerPools
    	// All unique nodes for this deployment
    	globalNodes []Node
    
    	// The name of this local node, fetched from arguments
    	globalLocalNodeName    string
    	globalLocalNodeNameHex string
    	globalNodeNamesHex     = make(map[string]struct{})
    
    	// The global subnet config
    	globalSubnetConfig subnet.Config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the error response.
    	verifyError(c, response, "InvalidArgument", "Argument maxKeys must be an integer between 0 and 2147483647", http.StatusBadRequest)
    
    	// create listObjectsV2 request with invalid value of max-keys parameter. max-keys is set to -2.
    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/s3select/sql/funceval.go

    	if arg3 != nil {
    		v3, err := arg3.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		inferTypeForArithOp(v3)
    		lenInt, ok := v3.ToInt()
    		if !ok {
    			err := fmt.Errorf("Incorrect type for length argument in %s", sqlFnSubstring)
    			return nil, errIncorrectSQLFunctionArgumentType(err)
    		}
    		length = int(lenInt)
    		if length < 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  10. internal/s3select/sql/analysis.go

    		if len(e.SFunc.ArgsList) == 0 {
    			return qProp{err: fmt.Errorf("%s needs at least one argument", string(funcName))}
    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    	case sqlFnNullIf:
    		if len(e.SFunc.ArgsList) != 2 {
    			return qProp{err: fmt.Errorf("%s needs exactly 2 arguments", string(funcName))}
    		}
    		for _, arg := range e.SFunc.ArgsList {
    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)
Back to top