Aspire.Hosting.Valkey
Official
📦 Aspire.Hosting.Valkeyv17.0.0Import path
apphost/modules/aspire5Functions
1Types
1 types, 5 functions and 7 members
Handles
Functions
DistributedApplicationBuilder
ValkeyResource
method
WithDataBindMountbuilderAdds a bind mount for the data folder to a Valkey container resource and enables Valkey persistence.
WithDataBindMount(source string, options ...*WithDataBindMountOptions) ValkeyResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a Valkey container resource and enables Valkey persistence.
WithDataVolume(options ...*WithDataVolumeOptions) ValkeyResourcemethod
WithPersistencebuilderConfigures a Valkey container resource for persistence.
WithPersistence(options ...*WithPersistenceOptions) ValkeyResourcemethod
WithReplbuilderAdds a REPL command that opens an authenticated Valkey shell in the dashboard terminal dock.
WithRepl() ValkeyResource