| crew_class_tls {crew} | R Documentation |
R6 TLS class.
Description
R6 class for TLS configuration.
Details
See crew_tls().
Active bindings
modeSee
crew_tls().keySee
crew_tls().passwordSee
crew_tls().certificatesSee
crew_tls().
Methods
Public methods
Method new()
TLS configuration constructor.
Usage
crew_class_tls$new( mode = NULL, key = NULL, password = NULL, certificates = NULL )
Arguments
modeArgument passed from
crew_tls().keyArgument passed from
crew_tls().passwordArgument passed from
crew_tls().certificatesArgument passed from
crew_tls().
Returns
An R6 object with TLS configuration.
Examples
crew_tls(mode = "automatic")
Method validate()
Validate the object.
Usage
crew_class_tls$validate(test = TRUE)
Arguments
testLogical of length 1, whether to test the TLS configuration with
nanonext::tls_config().
Returns
NULL (invisibly).
Method client()
TLS credentials for the crew client.
Usage
crew_class_tls$client()
Returns
NULL or character vector, depending on the mode.
Method worker()
TLS credentials for crew workers.
Usage
crew_class_tls$worker(name)
Arguments
nameCharacter of length 1 with the
miraicompute profile.
Returns
NULL or character vector, depending on the mode.
See Also
Other tls:
crew_tls()
Examples
crew_tls(mode = "automatic")
## ------------------------------------------------
## Method `crew_class_tls$new`
## ------------------------------------------------
crew_tls(mode = "automatic")
[Package crew version 0.9.5 Index]