RedisInsightResource
Handle
type RedisInsightResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
Adds a bind mount for the data folder to a Redis Insight container resource.
WithDataBindMount(source string) RedisInsightResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
RedisInsightResource The resource builder.
Returns a handle; failures surface later via Err().
Adds a named volume for the data folder to a Redis Insight container resource.
WithDataVolume(options ...*RedisInsightResourceWithDataVolumeOptions) RedisInsightResourceParameters
options...*RedisInsightResourceWithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*RedisInsightResourceWithDataVolumeOptions argument.
Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
RedisInsightResource The resource builder.
Returns a handle; failures surface later via Err().
Configures the host port that the Redis Insight resource is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) RedisInsightResourceParameters
port*float64The port to bind on the host. If null is used random port will be assigned.Returns
RedisInsightResource The resource builder for RedisInsight.
Returns a handle; failures surface later via Err().