- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for KeyNames (0.27 sec)
-
internal/kms/stub.go
latencyBuckets: defaultLatencyBuckets, latency: make([]atomic.Uint64, len(defaultLatencyBuckets)), conn: &StubKMS{ KeyNames: []string{defaultKeyName}, }, } } // StubKMS is a KMS implementation for tests type StubKMS struct { KeyNames []string } // Version returns the type of the KMS. func (s StubKMS) Version(ctx context.Context) (string, error) { return "stub", nil }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/object-api-utils.go
} return metadata } // cleanMetadataKeys takes keyNames to be filtered // and returns a new map with all the entries with keyNames removed. func cleanMetadataKeys(metadata map[string]string, keyNames ...string) map[string]string { newMeta := make(map[string]string, len(metadata)) for k, v := range metadata { if slices.Contains(keyNames, k) { continue } newMeta[k] = v } return newMeta }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 37.1K bytes - Viewed (0)