Table of Contents

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

imageId string
cancellationToken CancellationToken

Returns

Task<ImageInfo>

ListAsync(CancellationToken)

Lists all images.

Task<IReadOnlyList<ImageInfo>> ListAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IReadOnlyList<ImageInfo>>

PullAsync(PullImageRequest, CancellationToken)

Pulls an image from a registry.

Task PullAsync(PullImageRequest request, CancellationToken cancellationToken = default)

Parameters

request PullImageRequest
cancellationToken CancellationToken

Returns

Task

RemoveAsync(string, bool, CancellationToken)

Removes an image.

Task RemoveAsync(string imageId, bool force = false, CancellationToken cancellationToken = default)

Parameters

imageId string
force bool
cancellationToken CancellationToken

Returns

Task

TagAsync(string, string, string, CancellationToken)

Tags an image with a new name.

Task TagAsync(string imageId, string repository, string tag, CancellationToken cancellationToken = default)

Parameters

imageId string
repository string
tag string
cancellationToken CancellationToken

Returns

Task