Documentation ¶
Index ¶
- Variables
- func BaseStorageCommand() commands.Command
- func CloneCommand() commands.Command
- func CreateCommand() commands.Command
- func DeleteCommand() commands.Command
- func ImportCommand() commands.Command
- func ListCommand() commands.Command
- func ModifyCommand() commands.Command
- func SearchSingleStorage(uuidOrTitle string, exec commands.Executor) (*upcloud.Storage, error)
- func ShowCommand() commands.Command
- func TemplatizeCommand() commands.Command
Constants ¶
This section is empty.
Variables ¶
var ( // CachedStorages stores the cached list of storages in order to not hit the service more than once // TODO: refactor CachedStorages []upcloud.Storage )
Functions ¶
func BaseStorageCommand ¶
BaseStorageCommand creates the base "storage" command
func CloneCommand ¶
CloneCommand creates the "storage clone" command
func CreateCommand ¶
CreateCommand creates the "storage create" command
func DeleteCommand ¶
DeleteCommand creates the "storage delete" command
func ImportCommand ¶
ImportCommand creates the "storage import" command
func ListCommand ¶
ListCommand creates the "storage list" command
func ModifyCommand ¶
ModifyCommand creates the "storage modify" command
func SearchSingleStorage ¶
SearchSingleStorage returns exactly one storage where title or uuid matches uuidOrTitle TODO: remove the cross-command dependencies
func ShowCommand ¶
ShowCommand creates the "storage show" command
func TemplatizeCommand ¶
TemplatizeCommand creates the "storage templatise" command TODO: figure out consistent naming, one way or the other.
Types ¶
This section is empty.