MongoDBServerResource.WithTlsMode
Method
type MongoDBServerResource interface { // ... omitted for brevity WithTlsMode(options ...*WithTlsModeOptions) MongoDBServerResource}Signature
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().
Defined on
This method is defined on the following type: