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

     1  // Copyright 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package manual
     5  
     6  import (
     7  	"github.com/juju/schema"
     8  
     9  	"github.com/juju/juju/environs/config"
    10  )
    11  
    12  var (
    13  	configFields   = schema.Fields{}
    14  	configDefaults = schema.Defaults{}
    15  )
    16  
    17  type environConfig struct {
    18  	*config.Config
    19  	attrs map[string]interface{}
    20  }
    21  
    22  func newModelConfig(config *config.Config, attrs map[string]interface{}) *environConfig {
    23  	return &environConfig{Config: config, attrs: attrs}
    24  }