Refactor code structure for improved readability and maintainability; optimize performance in key functions.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace StellaOps.Scanner.Storage.Oci;
|
||||
|
||||
/// <summary>
|
||||
/// Service for pushing OCI artifacts to registries.
|
||||
/// Sprint: SPRINT_3850_0001_0001
|
||||
/// </summary>
|
||||
public interface IOciPushService
|
||||
{
|
||||
/// <summary>
|
||||
/// Push an OCI artifact to a registry.
|
||||
/// </summary>
|
||||
Task<OciArtifactPushResult> PushAsync(
|
||||
OciArtifactPushRequest request,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Push a slice artifact to a registry.
|
||||
/// </summary>
|
||||
Task<OciArtifactPushResult> PushSliceAsync(
|
||||
SliceArtifactInput input,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user