GetStorageInfo returns the paths where the Metadata and TLS data are stored for the context.
(contextName string)
| 206 | // GetStorageInfo returns the paths where the Metadata and TLS data are stored |
| 207 | // for the context. |
| 208 | func (s *ContextStore) GetStorageInfo(contextName string) StorageInfo { |
| 209 | return StorageInfo{ |
| 210 | MetadataPath: s.meta.contextDir(contextdirOf(contextName)), |
| 211 | TLSPath: s.tls.contextDir(contextName), |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | // ValidateContextName checks a context name is valid. |
| 216 | func ValidateContextName(name string) error { |
nothing calls this directly
no test coverage detected