SetNotaryClient sets the internal getter for retrieving a NotaryClient
(notaryClientFunc NotaryClientFuncType)
| 116 | |
| 117 | // SetNotaryClient sets the internal getter for retrieving a NotaryClient |
| 118 | func (c *FakeCli) SetNotaryClient(notaryClientFunc NotaryClientFuncType) { |
| 119 | c.notaryClientFunc = notaryClientFunc |
| 120 | } |
| 121 | |
| 122 | // NotaryClient returns an err for testing unless defined |
| 123 | func (c *FakeCli) NotaryClient() (notaryclient.Repository, error) { |
no outgoing calls