Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RedPandaServerResource.WithConsole

Method
📦 CommunityToolkit.Aspire.Hosting.RedPanda v13.6.1
type RedPandaServerResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: