- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for removeKeys (1.21 sec)
-
src/log/slog/handler_test.go
wantText: "", wantJSON: "{}", }, { name: "remove built-in", replace: removeKeys(TimeKey, LevelKey, MessageKey), attrs: attrs, wantText: "a=one b=2", wantJSON: `{"a":"one","b":2}`, }, { name: "preformatted remove built-in", replace: removeKeys(TimeKey, LevelKey, MessageKey), with: func(h Handler) Handler { return h.WithAttrs(preAttrs) },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 13:57:53 UTC 2023 - 19.6K bytes - Viewed (0) -
operator/pkg/helmreconciler/apply.go
objectCache.Cache[obj.Hash()] = obj } } // Prune anything not in the manifest out of the cache. var removeKeys []string for k := range objectCache.Cache { if !allObjectsMap[k] { removeKeys = append(removeKeys, k) } } for _, k := range removeKeys { scope.Infof("Pruning object %s from cache.", k) delete(objectCache.Cache, k) } if len(changedObjectKeys) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 6.4K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
// Purge all removed keys first kvs := s[config.IdentityLDAPSubSys][config.Default] if len(kvs) > 0 { for _, k := range removedKeys { kvs.Delete(k) } s[config.IdentityLDAPSubSys][config.Default] = kvs } if err := s.CheckValidKeys(config.IdentityLDAPSubSys, removedKeys); err != nil { return l, err } getCfgVal := func(cfgParam string) string {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
newVals := make([][]byte, 0, sz) var removeKey func(s []byte) bool // Copy if big number of compares... if len(keys) > 5 && sz > 5 { mKeys := make(map[string]struct{}, len(keys)) for _, key := range keys { mKeys[key] = struct{}{} } removeKey = func(s []byte) bool { _, ok := mKeys[string(s)] return ok } } else { removeKey = func(s []byte) bool { for _, key := range keys {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
if ownerRef.Controller == nil || !*ownerRef.Controller { return true } } } return false } // removeRefs removes any owner refs from the list matching predicate. Returns true if the list was changed and // the new (or unchanged list). func removeRefs(refs []metav1.OwnerReference, predicate func(ref *metav1.OwnerReference) bool) []metav1.OwnerReference { newRefs := []metav1.OwnerReference{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml
severity ${record['severity'] || if record['stream'] == 'stderr' then 'ERROR' else 'INFO' end} </record> tag ${if record['stream'] == 'stderr' then 'raw.stderr' else 'raw.stdout' end} remove_keys stream,log </match> # Detect exceptions in the log output and forward them as one log entry. <match {raw.stderr,raw.stdout}> @type detect_exceptions remove_tag_prefix raw
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 26 07:09:07 UTC 2018 - 18.3K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
severity ${record['severity'] || if record['stream'] == 'stderr' then 'ERROR' else 'INFO' end} </record> tag ${if record['stream'] == 'stderr' then 'raw.stderr' else 'raw.stdout' end} remove_keys stream,log </match> # TODO: detect exceptions and forward them as one log entry using the # detect_exceptions plugin # This section is exclusive for k8s_container logs. These logs come with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)