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

     1  // Copyright 2012, 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package maas
     5  
     6  import (
     7  	"github.com/juju/juju/cloudconfig/cloudinit"
     8  	"github.com/juju/juju/environs"
     9  )
    10  
    11  var (
    12  	ShortAttempt = &shortAttempt
    13  )
    14  
    15  func NewCloudinitConfig(env environs.Environ, hostname, series string) (cloudinit.CloudConfig, error) {
    16  	return env.(*maasEnviron).newCloudinitConfig(hostname, series)
    17  }