LEFT | RIGHT |
1 // Copyright 2012, 2013 Canonical Ltd. | 1 // Copyright 2012, 2013 Canonical Ltd. |
2 // Licensed under the AGPLv3, see LICENCE file for details. | 2 // Licensed under the AGPLv3, see LICENCE file for details. |
3 | 3 |
4 package deployer_test | 4 package deployer_test |
5 | 5 |
6 import ( | 6 import ( |
7 "encoding/json" | 7 "encoding/json" |
8 "fmt" | 8 "fmt" |
9 "io/ioutil" | 9 "io/ioutil" |
10 "os" | 10 "os" |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 return []byte(testing.CACert) | 314 return []byte(testing.CACert) |
315 } | 315 } |
316 | 316 |
317 func (mock *mockConfig) Value(_ string) string { | 317 func (mock *mockConfig) Value(_ string) string { |
318 return "" | 318 return "" |
319 } | 319 } |
320 | 320 |
321 func agentConfig(tag, datadir, logDir string) agent.Config { | 321 func agentConfig(tag, datadir, logDir string) agent.Config { |
322 return &mockConfig{tag: tag, datadir: datadir, logDir: logDir} | 322 return &mockConfig{tag: tag, datadir: datadir, logDir: logDir} |
323 } | 323 } |
LEFT | RIGHT |