GetTLSData reads, and returns the content of the given fileName for an endpoint. It returns an errdefs.ErrNotFound if the file was not found.
(contextName, endpointName, fileName string)
| 200 | // GetTLSData reads, and returns the content of the given fileName for an endpoint. |
| 201 | // It returns an errdefs.ErrNotFound if the file was not found. |
| 202 | func (s *ContextStore) GetTLSData(contextName, endpointName, fileName string) ([]byte, error) { |
| 203 | return s.tls.getData(contextName, endpointName, fileName) |
| 204 | } |
| 205 | |
| 206 | // GetStorageInfo returns the paths where the Metadata and TLS data are stored |
| 207 | // for the context. |