github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/provider/vsphere/export_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // +build !gccgo
     5  
     6  package vsphere
     7  
     8  import (
     9  	"github.com/juju/juju/environs"
    10  )
    11  
    12  var (
    13  	Provider environs.EnvironProvider = providerInstance
    14  )
    15  
    16  func ExposeEnvFakeClient(env *environ) *fakeClient {
    17  	return env.client.connection.RoundTripper.(*fakeClient)
    18  }
    19  
    20  var _ environs.Environ = (*environ)(nil)