AddRustFs
Method
func (DistributedApplicationBuilder) AddRustFs( name string, options ...*AddRustFsOptions,) RustFsResourceSignature
method
AddRustFs builderAdds a RustFs container to the application model. The default image is "rustfs/rustfs".
AddRustFs( name string, options ...*AddRustFsOptions,) RustFsResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddRustFsOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddRustFsOptions argument.
AccessKey *ParameterResource The parameter used to provide the access key for the RustFs resource. If null a random key will be generated.SecretKey *ParameterResource The parameter used to provide the secret key for the RustFs resource. If null a random key will be generated.Port*float64The host port for the RustFs S3-compatible API endpoint.ConsolePort *float64The host port for the RustFs console endpoint.Returns
RustFsResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder