Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for Clain (8.31 sec)

  1. internal/logger/target/kafka/kafka_scram_client_contrib.go

    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA256} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA256)
    	default:
    		// default to PLAIN
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypePlaintext)
    	}
    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  2. cmd/encryption-v1.go

    	seqNumber = uint32(startPkgNum)
    	return encOff, encLength, skipLen, seqNumber, partStart, nil
    }
    
    // EncryptedSize returns the size of the object after encryption.
    // An encrypted object is always larger than a plain object
    // except for zero size objects.
    func (o *ObjectInfo) EncryptedSize() int64 {
    	size, err := sio.EncryptedSize(uint64(o.Size))
    	if err != nil {
    		// This cannot happen since AWS S3 allows parts to be 5GB at most
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. internal/logger/config.go

    		},
    		config.KV{
    			Key:   KafkaSASLUsername,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaSASLPassword,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaSASLMechanism,
    			Value: "plain",
    		},
    		config.KV{
    			Key:   KafkaClientTLSCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaClientTLSKey,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaTLSClientAuth,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrInsecureClientRequest: {
    		Code:           "XMinioInsecureClientRequest",
    		Description:    "Cannot respond to plain-text request from TLS-encrypted server",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrRequestTimedout: {
    		Code:           "RequestTimeout",
    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)
  5. cmd/warm-backend-gcs.go

    	uploadID := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    	if len(params) == 2 {
    		object = params[1]
    	}
    	if len(params) == 3 {
    		uploadID = params[2]
    	}
    
    	// in some cases just a plain error is being returned
    	switch err.Error() {
    	case "storage: bucket doesn't exist":
    		err = BucketNotFound{
    			Bucket: bucket,
    		}
    		return err
    	case "storage: object doesn't exist":
    		if uploadID != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    		return
    	}
    
    	sessionPolicyStr := r.Form.Get(stsPolicy)
    	// https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    	// The plain text that you use for both inline and managed session
    	// policies shouldn't exceed 2048 characters.
    	if len(sessionPolicyStr) > 2048 {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, errSessionPolicyTooLarge)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. internal/config/notify/help.go

    		},
    		config.HelpKV{
    			Key:         target.KafkaSASLUsername,
    			Description: "username for SASL/PLAIN or SASL/SCRAM authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.KafkaSASLPassword,
    			Description: "password for SASL/PLAIN or SASL/SCRAM authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  8. internal/event/target/kafka_scram_client_contrib.go

    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA256} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA256)
    	default:
    		// default to PLAIN
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypePlaintext)
    	}
    }
    
    // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    			header: http.Header{
    				"Content-Type": []string{"application/json"},
    			},
    			result: false,
    		},
    		{
    			object: "object.txt",
    			header: http.Header{
    				"Content-Type": []string{"text/plain"},
    			},
    			result: false,
    		},
    		{
    			object: "object",
    			header: http.Header{
    				"Content-Type": []string{"text/something"},
    			},
    			result: false,
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. internal/config/notify/parse.go

    		config.KV{
    			Key:   target.KafkaSASLUsername,
    			Value: "",
    		},
    		config.KV{
    			Key:   target.KafkaSASLPassword,
    			Value: "",
    		},
    		config.KV{
    			Key:   target.KafkaSASLMechanism,
    			Value: "plain",
    		},
    		config.KV{
    			Key:   target.KafkaClientTLSCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   target.KafkaClientTLSKey,
    			Value: "",
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
Back to top