Interface IImageManager
- Namespace
- Bielu.Microservices.Orchestrator.Abstractions
- Assembly
- Bielu.Microservices.Orchestrator.dll
Manages container image operations.
public interface IImageManager
Methods
GetAsync(string, CancellationToken)
Gets detailed information about a specific image.
Task<ImageInfo?> GetAsync(string imageId, CancellationToken cancellationToken = default)
Parameters
imageIdstringcancellationTokenCancellationToken
Returns
ListAsync(CancellationToken)
Lists all images.
Task<IReadOnlyList<ImageInfo>> ListAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
PullAsync(PullImageRequest, CancellationToken)
Pulls an image from a registry.
Task PullAsync(PullImageRequest request, CancellationToken cancellationToken = default)
Parameters
requestPullImageRequestcancellationTokenCancellationToken
Returns
RemoveAsync(string, bool, CancellationToken)
Removes an image.
Task RemoveAsync(string imageId, bool force = false, CancellationToken cancellationToken = default)
Parameters
imageIdstringforceboolcancellationTokenCancellationToken
Returns
TagAsync(string, string, string, CancellationToken)
Tags an image with a new name.
Task TagAsync(string imageId, string repository, string tag, CancellationToken cancellationToken = default)
Parameters
imageIdstringrepositorystringtagstringcancellationTokenCancellationToken