WithSSHPublicKey sets the SSH public key used in the request.
(key ssh.PublicKey)
| 70 | |
| 71 | // WithSSHPublicKey sets the SSH public key used in the request. |
| 72 | func WithSSHPublicKey(key ssh.PublicKey) Option { |
| 73 | return newFuncFlowOption(func(fo *flowContext) { |
| 74 | fo.SSHPublicKey = key |
| 75 | }) |
| 76 | } |
| 77 | |
| 78 | // WithCertificateRequest sets the X509 certificate request used in the request. |
| 79 | func WithCertificateRequest(cr *x509.CertificateRequest) Option { |
no test coverage detected
searching dependent graphs…