WithTlsMode
Method
func (MongoDBServerResource) WithTlsMode(options ...*WithTlsModeOptions) MongoDBServerResourceSignature
method
WithTlsMode builderConfigures the
--tlsMode the MongoDB server is started with when TLS is active.WithTlsMode(options ...*WithTlsModeOptions) MongoDBServerResourceParameters
options...*WithTlsModeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTlsModeOptions argument.
Mode*MongoDBTlsMode The TLS mode to run the MongoDB server in.Returns
MongoDBServerResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: