github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/worker/uniter/jujuc/server_windows.go (about) 1 package jujuc 2 3 import ( 4 "launchpad.net/juju-core/cmd" 5 ) 6 7 // newCommands maps Command names to initializers. 8 9 // gsamfira: Windows cares about extensions 10 var newCommands = map[string]func(Context) cmd.Command{ 11 "close-port.exe": NewClosePortCommand, 12 "config-get.exe": NewConfigGetCommand, 13 "juju-log.exe": NewJujuLogCommand, 14 "open-port.exe": NewOpenPortCommand, 15 "relation-get.exe": NewRelationGetCommand, 16 "relation-ids.exe": NewRelationIdsCommand, 17 "relation-list.exe": NewRelationListCommand, 18 "relation-set.exe": NewRelationSetCommand, 19 "unit-get.exe": NewUnitGetCommand, 20 "owner-get.exe": NewOwnerGetCommand, 21 }