- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for oldKeys (0.13 sec)
-
pilot/pkg/model/jwks_resolver.go
} // Sort both sets of keys by "kid (key ID)" to be able to directly compare oldKeys, oldKeysExists := oldJWKs["keys"].([]any) newKeys, newKeysExists := newJWKs["keys"].([]any) if oldKeysExists && newKeysExists { sort.Slice(oldKeys, func(i, j int) bool { key1, ok1 := oldKeys[i].(map[string]any) key2, ok2 := oldKeys[j].(map[string]any) if ok1 && ok2 { key1Id, kid1Exists := key1["kid"]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
} } s.shas[key] = r.sha } newKeys[key] = r.schema.GroupVersionKind() if oldKeys != nil { scope.Debugf("KubeSource.ApplyContent: Delete: %v/%v", r.schema.GroupVersionKind(), key) delete(oldKeys, key) } } for k, col := range oldKeys { empty := "" err := s.inner.Delete(col, k.fullName.Name.String(), k.fullName.Namespace.String(), &empty) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kube/krt/collection.go
newRes, newExists := results[key] // Find the old O object oldRes, oldExists := h.collectionState.outputs[key] e := Event[O]{} if newExists && oldExists { if equal(newRes, oldRes) { // NOP change, skip continue } e.Event = controllers.EventUpdate e.New = &newRes e.Old = &oldRes h.collectionState.outputs[key] = newRes } else if newExists {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/registry/discovery/endpointslice/strategy_test.go
testcases := []struct { name string hintsGateEnabled bool oldEPS *discovery.EndpointSlice newEPS *discovery.EndpointSlice expectedEPS *discovery.EndpointSlice }{ { name: "node name gate enabled, set on new EPS", oldEPS: &discovery.EndpointSlice{ Endpoints: []discovery.Endpoint{ { NodeName: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
} return nil } func (f *File) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func addReplace(syntax *FileSyntax, replace *[]*Replace, oldPath, oldVers, newPath, newVers string) error { need := true old := module.Version{Path: oldPath, Version: oldVers} new := module.Version{Path: newPath, Version: newVers}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_test.go
UID: "test_pod_uid", }, Spec: v1.PodSpec{ Containers: []v1.Container{*container}, }, } oldKey := getStableKey(pod, container) // Updating the container image should change the key. container.Image = "foo/image:v2" newKey := getStableKey(pod, container) assert.NotEqual(t, oldKey, newKey) } func TestToKubeContainer(t *testing.T) { c := &runtimeapi.Container{ Id: "test-id",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
int entryForValue = findEntryByValue(value, valueHash); if (entryForValue != ABSENT) { K oldKey = keys[entryForValue]; if (Objects.equal(oldKey, key)) { return key; } else { replaceKeyInEntry(entryForValue, key, force); return oldKey; } } int predecessor = lastInInsertionOrder; int keyHash = Hashing.smearedHash(key);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
cmd/encryption-v1.go
if err != nil { return err } oldKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{ Name: keyID, Ciphertext: kmsKey, AssociatedData: kms.Context{bucket: path.Join(bucket, object)}, }) if err != nil { return err } var objectKey crypto.ObjectKey if err = objectKey.Unseal(oldKey, sealedKey, crypto.S3.String(), bucket, object); err != nil { return err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 37.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
} @Override @ParametricNullness public K setValue(@ParametricNullness K key) { K oldKey = delegate.key; int keyHash = smearedHash(key); if (keyHash == delegate.keyHash && Objects.equal(key, oldKey)) { return key; } checkArgument(seekByKey(key, keyHash) == null, "value already present: %s", key);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
ResourceVersion: config.ResourceVersion, OwnerReferences: config.OwnerReferences, UID: types.UID(config.UID), } } func genPatchBytes(oldRes, modRes runtime.Object, patchType types.PatchType) ([]byte, error) { oldJSON, err := json.Marshal(oldRes) if err != nil { return nil, fmt.Errorf("failed marhsalling original resource: %v", err) } newJSON, err := json.Marshal(modRes) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0)