MockConfig implements interfaces.Config for testing purposes.
| 2 | |
| 3 | // MockConfig implements interfaces.Config for testing purposes. |
| 4 | type MockConfig struct { |
| 5 | Addr string |
| 6 | User string |
| 7 | Password string |
| 8 | Realm string |
| 9 | TokenID string |
| 10 | TokenSecret string |
| 11 | Insecure bool |
| 12 | } |
| 13 | |
| 14 | func (c *MockConfig) GetAddr() string { |
| 15 | return c.Addr |
nothing calls this directly
no outgoing calls
no test coverage detected