RustFsResource
type RustFsResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
PUT request to the RustFs S3 API after the server resource becomes ready.AddBucket(bucketName string) RustFsBucketResourceParameters
bucketName stringThe name of the bucket to create.Returns
RustFsBucketResource A reference to the I for the bucket resource.
Returns a handle; failures surface later via Err().
RustFsBucketResource child resource and created via the RustFs S3 API once the server resource becomes ready.AddBuckets(bucketNames []string) RustFsResourceParameters
bucketNames []string The names of the buckets to create.Returns
RustFsResource The original I for further chaining.
Returns a handle; failures surface later via Err().
WithDataBindMount(source string) RustFsResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
RustFsResource The I.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) RustFsResourceParameters
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 application and resource names.Returns
RustFsResource The I.
Returns a handle; failures surface later via Err().
us-east-1 if not specified.WithSigningRegion(region string) RustFsResourceParameters
regionstringThe AWS signing region (e.g. us-east-1 , ap-northeast-1 ).Returns
RustFsResource The I.
Returns a handle; failures surface later via Err().