ContainerBuildOptionsCallbackContext
Class sealed net10.0
Context for configuring container build options via a callback.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerBuildOptionsCallbackContext{ // ...} 11 members
Constructors1
Section titled ConstructorsContainerBuildOptionsCallbackContext(IResource, IServiceProvider, ILogger, CancellationToken, DistributedApplicationExecutionContext?) Initializes a new instance of
ContainerBuildOptionsCallbackContext. Properties10
Section titled PropertiesCancellationTokengetCancellationToken Gets the cancellation token.
ExecutionContextget Gets the distributed application execution context.
ImageFormatget; set Gets or sets the container image format.
LocalImageNameget; setstring? Gets or sets the local image name for the built container.
LocalImageTagget; setstring? Gets or sets the local image tag for the built container.
LoggergetILogger Gets the logger instance.
OutputPathget; setstring? Gets or sets the output path for the container archive.
Resourceget Gets the resource being built.
ServicesgetIServiceProvider Gets the service provider.
TargetPlatformget; set Gets or sets the target platform for the container.