ResetTLSMaterial is not implemented for default context and fails
(name string, data *store.ContextTLSData)
| 145 | |
| 146 | // ResetTLSMaterial is not implemented for default context and fails |
| 147 | func (s *ContextStoreWithDefault) ResetTLSMaterial(name string, data *store.ContextTLSData) error { |
| 148 | if name == DefaultContextName { |
| 149 | return invalidParameter(errors.New("default context cannot be edited")) |
| 150 | } |
| 151 | return s.Store.ResetTLSMaterial(name, data) |
| 152 | } |
| 153 | |
| 154 | // ResetEndpointTLSMaterial is not implemented for default context and fails |
| 155 | func (s *ContextStoreWithDefault) ResetEndpointTLSMaterial(contextName string, endpointName string, data *store.EndpointTLSData) error { |
nothing calls this directly
no test coverage detected