Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RedisResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Redis.Extensions v13.6.1
type RedisResource interface{}

Methods

methodWithDbGatebuilder
Adds an administration and development platform for Redis to the application model using DbGate.
WithDbGate(options ...*WithDbGateOptions) RedisResource
options...*WithDbGateOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj DbGateContainerResource)callbackConfiguration callback for DbGate container resource.
ContainerName*stringThe name of the container (Optional).
RedisResource

A reference to the IResourceBuilder.

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

methodWithDbxbuilder
Adds an administration and development platform for Redis to the application model using dbx.
WithDbx(options ...*WithDbxOptions) RedisResource
options...*WithDbxOptionsOptional settings, described under Options.

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

ContainerName*stringThe name of the container (Optional).
ImageTag*stringOptional image tag override for the dbx container.
RedisResource

A reference to the IResourceBuilder.

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