Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 6,150 for string (0.06 sec)

  1. internal/grid/types.go

    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    	}
    	return strings.Join(withoutPort, ", ")
    }
    
    func unexpandDomains(domains []string) []string {
    	unique := sets.New(domains...)
    	shouldDelete := sets.New[string]()
    	for _, h := range domains {
    		stripFull := strings.TrimSuffix(h, ".svc.cluster.local")
    		if unique.Contains(stripFull) && stripFull != h {
    			shouldDelete.Insert(h)
    		}
    		stripPartial := strings.TrimSuffix(h, ".svc")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. cmd/signature-v2_test.go

    		secretKey = globalActiveCred.SecretKey
    	)
    	testCases := []struct {
    		queryParams map[string]string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

    public class SuggestTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "";
        private static final String API_PATH = "/api/admin/suggest";
        private static final String LIST_ENDPOINT_SUFFIX = "";
        private static final String ITEM_ENDPOINT_SUFFIX = "";
    
        private static final String KEY_PROPERTY = "";
    
        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. cni/pkg/log/uds_test.go

    			"with keys",
    			`{"level":"info","time":"2020-01-01T00:00:00.356374Z","msg":"my message","key":"string value","bar":2}`,
    			cniLog{
    				Level: "info",
    				Time:  *wantT,
    				Msg:   "my message",
    				Arbitrary: map[string]any{
    					"key": "string value",
    					"bar": float64(2),
    				},
    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			got, _ := parseCniLog(tt.in)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"ztunnel-9v7nw": []byte("current log level is debug"),
    	}
    	cases := []execTestCase{
    		{
    			args:           []string{},
    			expectedString: "A group of commands used to update or retrieve Ztunnel",
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	testCasesV2 := []struct {
    		expectedStatus int
    		secretKey      string
    		formData       map[string]string
    	}{
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},
    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. internal/config/dns/dns_path.go

    	}
    	return path.Join(append([]string{etcdPathSeparator + prefix + etcdPathSeparator}, l...)...)
    }
    
    // dnsJoin joins labels to form a fully qualified domain name. If the last label is
    // the root label it is ignored. Not other syntax checks are performed.
    func dnsJoin(labels ...string) string {
    	ll := len(labels)
    	if labels[ll-1] == "." {
    		return strings.Join(labels[:ll-1], ".") + "."
    	}
    	return dns.Fqdn(strings.Join(labels, "."))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. internal/logger/target/console/console.go

    	var deploymentID string
    	if entry.DeploymentID != "" {
    		deploymentID = "\nDeploymentID: " + entry.DeploymentID
    	}
    
    	var requestID string
    	if entry.RequestID != "" {
    		requestID = "\nRequestID: " + entry.RequestID
    	}
    
    	var remoteHost string
    	if entry.RemoteHost != "" {
    		remoteHost = "\nRemoteHost: " + entry.RemoteHost
    	}
    
    	var host string
    	if entry.Host != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/main/config/openapi/openapi-user.yaml

                            site:
                              type: string
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top