Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithConsole

Method
📦 CommunityToolkit.Aspire.Hosting.RedPanda v13.6.1
func (RedPandaServerResource) WithConsole(options ...*WithConsoleOptions) RedPandaServerResource

Signature

methodWithConsolebuilder
Adds a Redpanda Console container to the application, configured to connect to the Redpanda broker.
WithConsole(options ...*WithConsoleOptions) RedPandaServerResource
options...*WithConsoleOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithConsoleOptions argument.

ConfigureContainerfunc(obj RedPandaConsoleContainerResource)callbackAn optional callback to configure the Redpanda Console container resource.
ContainerName*stringThe name of the container (optional).
RedPandaServerResource

A reference to the IResourceBuilder for the Redpanda server resource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: