~rogpeppe/juju-core/azure

  • Committer: Tarmac
  • Author(s): jtv at canonical
  • Date: 2013-07-16 06:23:06 UTC
  • mfrom: (1444.6.8 newmachineconfig)
  • Revision ID: tarmac-20130716062306-5r8wjuex98uy7dl1
[r=jtv] Constructor for cloudinit.MachineConfig.

This is preparation for a refactoring discussed with William Reade and
outlined in bug 1199847. Much of the work of creating a
cloudinit.MachineConfig is repetitive between providers, so we might as well
extract it. This also makes it easier to move the construction from one
function to another, as is likely to happen during the further refactoring.

You'll see that "tools" is not a parameter. That's because the projected
refactoring moves construction of the MachineConfig ahead of where the tools
are selected. If these two steps end up fitting together, uniformly across
providers, once the code starts to stabilize again then we can make "tools" a
parameter after all.
Filename Latest Rev Last Changed Committer Comment Size
..
branch.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 4.7 KB Diff Download File
branch_test.go 1433 11 years ago Tarmac [r=gz] Stop using example.com in test code Per RF 6.9 KB Diff Download File
export_test.go 1206.2.1 11 years ago Martin Packman Add copyright statement at the top of all go files 192 bytes Diff Download File
lpad.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 3.1 KB Diff Download File
lpad_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 2.4 KB Diff Download File
mgo_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 1.9 KB Diff Download File
server.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 10 KB Diff Download File
server_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 14.5 KB Diff Download File
store.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 28 KB Diff Download File
store_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 22.7 KB Diff Download File