github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/provider/manual/init.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package manual
     5  
     6  import (
     7  	"github.com/juju/juju/environs"
     8  	"github.com/juju/juju/storage/provider/registry"
     9  )
    10  
    11  const (
    12  	providerType = "manual"
    13  )
    14  
    15  func init() {
    16  	p := manualProvider{}
    17  	environs.RegisterProvider(providerType, p, "null")
    18  
    19  	registry.RegisterEnvironStorageProviders(providerType)
    20  }