Aspire.Hosting.Redis
Official
📦 Aspire.Hosting.Redisv17.0.0Import path
apphost/modules/aspire14Functions
3Types
3 types, 14 functions and 8 members
Handles
Functions
DistributedApplicationBuilder
RedisCommanderResource
RedisInsightResource
method
WithDataBindMountbuilderAdds a bind mount for the data folder to a Redis Insight container resource.
WithDataBindMount(source string) RedisInsightResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a Redis Insight container resource.
WithDataVolume(options ...*RedisInsightResourceWithDataVolumeOptions) RedisInsightResourcemethod
WithHostPortbuilderConfigures the host port that the Redis Insight resource is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) RedisInsightResourceRedisResource
method
WithDataBindMountbuilderAdds a bind mount for the data folder to a Redis container resource and enables Redis persistence.
WithDataBindMount(source string, options ...*WithDataBindMountOptions) RedisResourcemethod
WithDataVolumebuilderAdds a named volume for the data folder to a Redis container resource and enables Redis persistence.
WithDataVolume(options ...*WithDataVolumeOptions) RedisResourcemethod
WithHostPortbuilderConfigures the host port that the Redis resource is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) RedisResourcemethod
WithModulebuilderConfigures the Redis resource to use the specified Redis module by providing its path inside the container.
WithModule(path string) RedisResourcemethod
WithPasswordbuilderConfigures the password that the Redis resource is used.
WithPassword(password ParameterResource) RedisResourcemethod
WithPersistencebuilderConfigures a Redis container resource for persistence.
WithPersistence(options ...*WithPersistenceOptions) RedisResourcemethod
WithRedisCommanderbuilderAdds Redis Commander management UI
WithRedisCommander(options ...*WithRedisCommanderOptions) RedisResourcemethod
WithRedisInsightbuilderAdds Redis Insight management UI
WithRedisInsight(options ...*WithRedisInsightOptions) RedisResourcemethod
WithReplbuilderAdds a REPL command that opens an authenticated Redis shell in the dashboard terminal dock.
WithRepl() RedisResourceExported values
RedisModules.BloomFilterstring= "/usr/local/lib/redis/modules/redisbloom.so"The Redis Bloom Filter module path for probabilistic data structures including Bloom filters, Cuckoo filters, Count-Min Sketches, and Top-K filters.
RedisModules.Jsonstring= "/usr/local/lib/redis/modules/rejson.so"The Redis JSON module path for storing, updating, and querying JSON documents in Redis.
RedisModules.Searchstring= "/usr/local/lib/redis/modules/redisearch.so"The Redis Search module path for secondary indexing and querying of data stored in Redis.
RedisModules.TimeSeriesstring= "/usr/local/lib/redis/modules/redistimeseries.so"The Redis TimeSeries module path for efficient storage and querying of time series data in Redis.