PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
A resource that represents a Milvus database.
type MilvusServerResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}ApiKeyParameter ParameterResource getApiKeyParameter() ParameterResourceConnectionStringExpression *ReferenceExpression getConnectionStringExpression() *ReferenceExpressionDatabasesmap[string]string getDatabases() (map[string]string, error)HostEndpointReferenceExpression getHost() EndpointReferenceExpressionPortEndpointReferenceExpression getPort() EndpointReferenceExpressionPrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceResourceTypeDisplayName stringgetResourceTypeDisplayName() (string, error)Token*ReferenceExpression getToken() *ReferenceExpressionUriExpression *ReferenceExpression getUriExpression() *ReferenceExpressionAddDatabase( name string, options ...*AddDatabaseOptions,) MilvusDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDatabaseOptions argument.
DatabaseName *stringThe name of the database. If not provided, this defaults to the same value as name.Returns
MilvusDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
WithAttu(options ...*WithAttuOptions) MilvusServerResourceParameters
options...*WithAttuOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithAttuOptions argument.
ConfigureContainer func(obj AttuResource) callbackConfiguration callback for Attu container resource.ContainerName *stringThe name of the container (Optional).Returns
MilvusServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithConfigurationFile(configurationFilePath string) MilvusServerResourceParameters
configurationFilePath stringThe configuration file on the host to copy into the container.Returns
MilvusServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithDataBindMount( source string, options ...*WithDataBindMountOptions,) MilvusServerResourceParameters
sourcestringThe source directory on the host to mount into the container.options...*WithDataBindMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.
IsReadOnly *boolA flag that indicates if this is a read-only mount.Returns
MilvusServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) MilvusServerResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.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 resource name.IsReadOnly *boolA flag that indicates if this is a read-only volume.Returns
MilvusServerResource The resource builder.
Returns a handle; failures surface later via Err().