github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/juju/space/export_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package space
     5  
     6  func (base *SpaceCommandBase) SetAPI(api SpaceAPI) {
     7  	base.api = api
     8  }
     9  
    10  func (c *RemoveCommand) Name() string {
    11  	return c.name
    12  }
    13  
    14  func (c *ListCommand) ListFormat() string {
    15  	return c.out.Name()
    16  }