GetMetadata returns the metadata for the context with the given name. It returns an errdefs.ErrNotFound if the context was not found.
(name string)
| 152 | // GetMetadata returns the metadata for the context with the given name. |
| 153 | // It returns an errdefs.ErrNotFound if the context was not found. |
| 154 | func (s *ContextStore) GetMetadata(name string) (Metadata, error) { |
| 155 | return s.meta.get(name) |
| 156 | } |
| 157 | |
| 158 | // ResetTLSMaterial removes TLS data for all endpoints in the context and replaces |
| 159 | // it with the new data. |