github.com/mhilton/juju-juju@v0.0.0-20150901100907-a94dd2c73455/provider/joyent/init.go (about)

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