WithServiceToken configures bearer-token authentication using the given service token.
(token string)
| 124 | // WithServiceToken configures bearer-token authentication using the given |
| 125 | // service token. |
| 126 | func WithServiceToken(token string) Option { |
| 127 | return withTransportOption(elastictransport.WithServiceToken(token)) |
| 128 | } |
| 129 | |
| 130 | // WithCACert sets PEM-encoded CA certificates used to verify the server's TLS |
| 131 | // certificate. |
nothing calls this directly
no test coverage detected