TestConfig is a simple test implementation of the Config interface.
| 199 | |
| 200 | // TestConfig is a simple test implementation of the Config interface. |
| 201 | type TestConfig struct { |
| 202 | Addr string |
| 203 | User string |
| 204 | Password string |
| 205 | Realm string |
| 206 | TokenID string |
| 207 | TokenSecret string |
| 208 | Insecure bool |
| 209 | } |
| 210 | |
| 211 | func (c *TestConfig) GetAddr() string { return c.Addr } |
| 212 | func (c *TestConfig) GetUser() string { return c.User } |
nothing calls this directly
no outgoing calls
no test coverage detected