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

     1  // Copyright 2018 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package oci
     5  
     6  import "github.com/juju/clock"
     7  
     8  var (
     9  	InstanceTypes          = instanceTypes
    10  	RefreshImageCache      = refreshImageCache
    11  	FindInstanceSpec       = findInstanceSpec
    12  	GetImageType           = getImageType
    13  	ShapeSpecs             = shapeSpecs
    14  	SetImageCache          = setImageCache
    15  	NewInstance            = newInstance
    16  	MaxPollIterations      = &maxPollIterations
    17  	PollTime               = &pollTime
    18  	AllProtocols           = allProtocols
    19  	OciStorageProviderType = ociStorageProviderType
    20  	OciVolumeType          = ociVolumeType
    21  	IscsiPool              = iscsiPool
    22  	ShortenMachineId       = shortenMachineId
    23  )
    24  
    25  func (e *Environ) SetClock(clock clock.Clock) {
    26  	e.clock = clock
    27  }