Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 160 for KV (0.02 sec)

  1. operator/pkg/util/path.go

    func IsKVPathElement(pe string) bool {
    	pe, ok := RemoveBrackets(pe)
    	if !ok {
    		return false
    	}
    
    	kv := splitEscaped(pe, kvSeparatorRune)
    	if len(kv) != 2 || len(kv[0]) == 0 || len(kv[1]) == 0 {
    		return false
    	}
    	return IsValidPathElement(kv[0])
    }
    
    // IsVPathElement report whether pe is a value path element.
    func IsVPathElement(pe string) bool {
    	pe, ok := RemoveBrackets(pe)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement.go

    			return fieldpath.PathElement{}, err
    		}
    		return fieldpath.PathElement{
    			Index: &i,
    		}, nil
    	case Key:
    		kv := map[string]json.RawMessage{}
    		err := json.Unmarshal([]byte(split[1]), &kv)
    		if err != nil {
    			return fieldpath.PathElement{}, err
    		}
    		fields := value.FieldList{}
    		for k, v := range kv {
    			b, err := json.Marshal(v)
    			if err != nil {
    				return fieldpath.PathElement{}, err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: "",
    		},
    		config.KV{
    			Key:   ServerAddr,
    			Value: "",
    		},
    		config.KV{
    			Key:   SRVRecordName,
    			Value: "",
    		},
    		config.KV{
    			Key:   UserDNSearchBaseDN,
    			Value: "",
    		},
    		config.KV{
    			Key:   UserDNSearchFilter,
    			Value: "",
    		},
    		config.KV{
    			Key:   UserDNAttributes,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    	getReactors []func()
    }
    
    func newEtcdClientKVWrapper(kv clientv3.KV) *etcdClientKVWrapper {
    	return &etcdClientKVWrapper{
    		KV:             kv,
    		getCallCounter: 0,
    	}
    }
    
    func (ecw *etcdClientKVWrapper) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) {
    	resp, err := ecw.KV.Get(ctx, key, opts...)
    	ecw.getCallCounter++
    	if err != nil {
    		return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (1)
  5. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

                                         mlir::TF::RuntimeDevices* devices) {
      DeviceNameUtils::ParsedName device;
    
      for (const auto& kv : llvm::enumerate(array_attr)) {
        const int idx = kv.index();
    
        auto string_attr = mlir::dyn_cast<mlir::StringAttr>(kv.value());
        if (!string_attr)
          return op->emitOpError(llvm::formatv(
              "bad '{0}' attribute at index {1}, not a string", kDevicesAttr, idx));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/config.go

    	return decryptData(data, historyFile)
    }
    
    func saveServerConfigHistory(ctx context.Context, objAPI ObjectLayer, kv []byte) error {
    	uuidKV := mustGetUUID() + kvPrefix
    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV)
    
    	if GlobalKMS != nil {
    		var err error
    		kv, err = config.EncryptBytes(GlobalKMS, kv, kms.Context{
    			minioMetaBucket: path.Join(minioMetaBucket, historyFile),
    		})
    		if err != nil {
    			return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/common/common.go

    	KubeSystemNamespace = "kube-system"
    )
    
    type kv struct {
    	k string
    	v string
    }
    
    type resourceNames struct {
    	discoveryLabels  []kv
    	istioDebugURLs   []string
    	proxyDebugURLs   []string
    	ztunnelDebugURLs []string
    }
    
    var versionMap = map[string]*resourceNames{
    	latestKey: {
    		discoveryLabels: []kv{
    			{k: "app", v: "istiod"},
    		},
    		istioDebugURLs: []string{
    			"debug/adsz",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. internal/config/identity/ldap/legacy.go

    		return
    	}
    	s[config.IdentityLDAPSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ServerAddr,
    			Value: ldapArgs.ServerAddr,
    		},
    		config.KV{
    			Key:   GroupSearchFilter,
    			Value: ldapArgs.GroupSearchFilter,
    		},
    		config.KV{
    			Key:   GroupSearchBaseDN,
    			Value: ldapArgs.GroupSearchBaseDistName,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 08 05:12:36 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    	m.Store(name, p)
    	return nil
    }
    
    func getMappedPolicy(kv *mvccpb.KeyValue, m *xsync.MapOf[string, MappedPolicy], basePrefix string) error {
    	var p MappedPolicy
    	err := getIAMConfig(&p, kv.Value, string(kv.Key))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchPolicy
    		}
    		return err
    	}
    	name := extractPathPrefixAndSuffix(string(kv.Key), basePrefix, ".json")
    	m.Store(name, p)
    	return nil
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/os/env_test.go

    			i = strings.Index(kv[1:], "=") + 1
    		}
    		if i < 0 {
    			t.Errorf("Environ entry missing '=': %q", kv)
    		}
    
    		k := kv[:i]
    		v := kv[i+1:]
    		v2, ok := LookupEnv(k)
    		if ok && v == v2 {
    			t.Logf("LookupEnv(%q) = %q, %t", k, v2, ok)
    		} else {
    			t.Errorf("Environ contains %q, but LookupEnv(%q) = %q, %t", kv, k, v2, ok)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top