Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

MeilisearchResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1

A resource that represents a Meilisearch

type MeilisearchResource interface {
ExpressionValue
IComputeResource
Resource
ResourceWithArgs
ResourceWithConnectionString
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Meilisearch
ConnectionStringExpression() *ReferenceExpression
propertyHostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
Host() EndpointReferenceExpression
propertyMasterKeyParameterParameterResourceget
Gets the parameter that contains the Meilisearch superuser password.
MasterKeyParameter() ParameterResource
propertyPortEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
Port() EndpointReferenceExpression
propertyPrimaryEndpointEndpointReferenceget
Gets the primary endpoint for the Meilisearch. This endpoint is used for all API calls over HTTP.
PrimaryEndpoint() EndpointReference
propertyUriExpression*ReferenceExpressionget
Gets the connection URI expression for the Meilisearch server.
UriExpression() *ReferenceExpression

Methods

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a Meilisearch container resource.
WithDataBindMount(source string) MeilisearchResource
sourcestringThe source directory on the host to mount into the container.
MeilisearchResource

The IResourceBuilder.

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

methodWithDataVolumebuilder
Adds a named volume for the data folder to a Meilisearch container resource.
WithDataVolume(options ...*WithDataVolumeOptions) MeilisearchResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

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

Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
MeilisearchResource

The IResourceBuilder.

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