| 34 | ) |
| 35 | |
| 36 | type FileLoader struct { |
| 37 | instName string |
| 38 | certPaths []string |
| 39 | keyPaths []string |
| 40 | log *log.Logger |
| 41 | |
| 42 | certs []tls.Certificate |
| 43 | certsLock sync.RWMutex |
| 44 | |
| 45 | reloadTick *time.Ticker |
| 46 | stopTick chan struct{} |
| 47 | } |
| 48 | |
| 49 | func NewFileLoader(c *container.C, modName, instName string) (module.Module, error) { |
| 50 | return &FileLoader{ |
nothing calls this directly
no outgoing calls
no test coverage detected