Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Clain (0.15 sec)

  1. cmd/postpolicyform_test.go

    		success bool
    	}{
    		// missing expiration, will fail.
    		{
    			policy:  `{"conditions":[["eq","$bucket","asdf"],["eq","$key","hello.txt"]],"conditions":[["eq","$success_action_status","201"],["eq","$Content-Type","plain/text"],["eq","$success_action_status","201"],["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"],["eq","$x-amz-credential","Q3AM3UQ867SPQQA43P2F/20210315/us-east-1/s3/aws4_request"],["eq","$x-amz-date","20210315T091621Z"]]}`,
    			success: false,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/cmd/options_test.go

    package cmd
    
    import (
    	"bytes"
    	"regexp"
    	"testing"
    )
    
    // nolint: lll
    var expectedOutput = `The following options can be passed to any command:
          --log_as_json: Whether to format output as JSON or in plain console-friendly format
          --log_caller: Comma-separated list of scopes for which to include caller information, scopes can be any of \[.*\]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  4. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
  7. istioctl/pkg/clioptions/central.go

    	InsecureSkipVerify bool
    
    	// XDSSAN is the expected Subject Alternative Name of the XDS server
    	XDSSAN string
    
    	// Plaintext forces plain text communication (for talking to port 15010)
    	Plaintext bool
    
    	// GCP project number or ID to use for XDS calls, if any.
    	GCPProject string
    
    	// Istiod address. For MCP may be different than Xds.
    	IstiodAddr string
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    		b.WriteString("| Name | Type | Help | Labels |\n")
    		b.WriteString("| ---- | ---- | ---- | ------ |\n")
    		for _, metric := range metrics {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    	tcpTLS             = []string{"istio-peer-exchange", "istio"}
    
    	protDescrs = map[string][]string{
    		"App: HTTP TLS":         httpTLS,
    		"App: Istio HTTP Plain": istioHTTPPlaintext,
    		"App: TCP TLS":          tcpTLS,
    		"App: HTTP":             plaintextHTTPALPNs,
    	}
    )
    
    func retrieveListenerMatches(l *listener.Listener) []filterchain {
    	fChains := getFilterChains(l)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top