(name, endpointName string)
| 54 | } |
| 55 | |
| 56 | func (s *tlsStore) removeEndpoint(name, endpointName string) error { |
| 57 | if err := os.RemoveAll(s.endpointDir(name, endpointName)); err != nil { |
| 58 | return fmt.Errorf("failed to remove TLS data for endpoint %s: %w", endpointName, err) |
| 59 | } |
| 60 | return nil |
| 61 | } |
| 62 | |
| 63 | func (s *tlsStore) listContextData(name string) (map[string]EndpointFiles, error) { |
| 64 | contextDir := s.contextDir(name) |