github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/worker/apicaller/export_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package apicaller
     5  
     6  // Strategy is a wart left over from the original implementation;
     7  // ideally we'd be using a clock and configuring this approach
     8  // explicitly, but (again, as usual) can't fix everything at once.
     9  var Strategy = &checkProvisionedStrategy
    10  
    11  // NewConnFacade is a dirty hack; should be explicit config; not
    12  // currently convenient.
    13  var NewConnFacade = &newConnFacade