github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/cmd/juju/action/export_test.go (about) 1 // Copyright 2014-2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package action 5 6 import "github.com/juju/names" 7 8 var ( 9 NewActionAPIClient = &newAPIClient 10 ) 11 12 func (c *DefinedCommand) ServiceTag() names.ServiceTag { 13 return c.serviceTag 14 } 15 16 func (c *DefinedCommand) FullSchema() bool { 17 return c.fullSchema 18 } 19 20 func (c *DoCommand) UnitTag() names.UnitTag { 21 return c.unitTag 22 } 23 24 func (c *DoCommand) ActionName() string { 25 return c.actionName 26 } 27 28 func (c *DoCommand) ParamsYAMLPath() string { 29 return c.paramsYAML.Path 30 } 31 32 func (c *DoCommand) KeyValueDoArgs() [][]string { 33 return c.args 34 }