Files
git.stella-ops.org/src/StellaOps.Feedser/StellaOps.Feedser.Exporter.TrivyDb/OciDescriptor.cs
master b6ef66e057
Some checks failed
Feedser CI / build-and-test (push) Has been cancelled
up teams work
2025-10-06 00:13:02 +03:00

11 lines
436 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace StellaOps.Feedser.Exporter.TrivyDb;
public sealed record OciDescriptor(
[property: JsonPropertyName("mediaType")] string MediaType,
[property: JsonPropertyName("digest")] string Digest,
[property: JsonPropertyName("size")] long Size,
[property: JsonPropertyName("annotations")] IReadOnlyDictionary<string, string>? Annotations = null);