github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/worker/uniter/jujuc/server_linux.go (about)

     1  package jujuc
     2  
     3  import (
     4      "launchpad.net/juju-core/cmd"
     5  )
     6  
     7  // newCommands maps Command names to initializers.
     8  var newCommands = map[string]func(Context) cmd.Command{
     9      "close-port":    NewClosePortCommand,
    10      "config-get":    NewConfigGetCommand,
    11      "juju-log":      NewJujuLogCommand,
    12      "open-port":     NewOpenPortCommand,
    13      "relation-get":  NewRelationGetCommand,
    14      "relation-ids":  NewRelationIdsCommand,
    15      "relation-list": NewRelationListCommand,
    16      "relation-set":  NewRelationSetCommand,
    17      "unit-get":      NewUnitGetCommand,
    18      "owner-get":     NewOwnerGetCommand,
    19  }