Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 160 for KV (0.02 sec)

  1. internal/config/identity/plugin/config.go

    )
    
    var (
    	// DefaultKVS - default config for AuthN plugin config
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   RolePolicy,
    			Value: "",
    		},
    		config.KV{
    			Key:   RoleID,
    			Value: "",
    		},
    	}
    
    	defaultHelpPostfix = func(key string) string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/runtime/debug/mod.go

    			}
    			last = nil
    		case strings.HasPrefix(line, buildLine):
    			kv := line[len(buildLine):]
    			if len(kv) < 1 {
    				return nil, fmt.Errorf("build line missing '='")
    			}
    
    			var key, rawValue string
    			switch kv[0] {
    			case '=':
    				return nil, fmt.Errorf("build line with missing key")
    
    			case '`', '"':
    				rawKey, err := strconv.QuotedPrefix(kv)
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (1)
  3. internal/config/browser/browser.go

    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   browserCSPPolicy,
    			Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
    		},
    		config.KV{
    			Key:   browserHSTSSeconds,
    			Value: "0",
    		},
    		config.KV{
    			Key:   browserHSTSIncludeSubdomains,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   browserHSTSPreload,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   browserReferrerPolicy,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (1)
  4. internal/config/compress/legacy.go

    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: strings.Join(cfg.MimeTypes, config.ValueSeparator),
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/event_test.go

    		etcdEvent     *clientv3.Event
    		expectedEvent *event
    		expectedErr   string
    	}{
    		{
    			name: "successful create",
    			etcdEvent: &clientv3.Event{
    				Type:   clientv3.EventTypePut,
    				PrevKv: nil,
    				Kv: &mvccpb.KeyValue{
    					// key is the key in bytes. An empty key is not allowed.
    					Key:            []byte("key"),
    					ModRevision:    1,
    					CreateRevision: 1,
    					Value:          []byte("value"),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/storage/objectreader.go

    	if _, err := s.etcdClient.KV.Put(context.Background(), key, string(bs)); err != nil {
    		return fmt.Errorf("error setting storage object %s, %s from etcd at key %s: %v", ns, name, key, err)
    	}
    	return nil
    }
    
    // GetEtcdClients returns an initialized  clientv3.Client and clientv3.KV.
    func GetEtcdClients(config storagebackend.TransportConfig) (*clientv3.Client, clientv3.KV, error) {
    	tlsInfo := transport.TLSInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. callbacks/update.go

    		keys := make([]string, 0, len(value))
    		for k := range value {
    			keys = append(keys, k)
    		}
    		sort.Strings(keys)
    
    		for _, k := range keys {
    			kv := value[k]
    			if _, ok := kv.(*gorm.DB); ok {
    				kv = []interface{}{kv}
    			}
    
    			if stmt.Schema != nil {
    				if field := stmt.Schema.LookUpField(k); field != nil {
    					if field.DBName != "" {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/log/slog/slogtest_test.go

    func parseText(bs []byte) (map[string]any, error) {
    	top := map[string]any{}
    	s := string(bytes.TrimSpace(bs))
    	for len(s) > 0 {
    		kv, rest, _ := strings.Cut(s, " ") // assumes exactly one space between attrs
    		k, value, found := strings.Cut(kv, "=")
    		if !found {
    			return nil, fmt.Errorf("no '=' in %q", kv)
    		}
    		keys := strings.Split(k, ".")
    		// Populate a tree of maps for a dotted path such as "a.b.c=x".
    		m := top
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:50:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/os/exec/exec_windows_test.go

    	t.Parallel()
    	cmd := helperCommand(t, "echoenv", "SYSTEMROOT")
    
    	// Explicitly remove SYSTEMROOT from the command's environment.
    	var env []string
    	for _, kv := range cmd.Environ() {
    		k, _, ok := strings.Cut(kv, "=")
    		if !ok || !strings.EqualFold(k, "SYSTEMROOT") {
    			env = append(env, kv)
    		}
    	}
    	cmd.Env = env
    
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. internal/config/batch/batch.go

    }
    
    // DefaultKVS - default KV config for batch job settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   ReplicationWorkersWait,
    		Value: "0ms", // No wait by default between each replication attempts.
    	},
    	config.KV{
    		Key:   KeyRotationWorkersWait,
    		Value: "0ms", // No wait by default between each key rotation attempts.
    	},
    	config.KV{
    		Key:   ExpirationWorkersWait,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top