Documentation ¶
Index ¶
- Variables
- func BackupCommand() commands.Command
- func BaseStorageCommand() commands.Command
- func CloneCommand() commands.Command
- func CreateBackupCommand() commands.Command
- func CreateCommand() commands.Command
- func DeleteCommand() commands.Command
- func ImportCommand() commands.Command
- func ListCommand() commands.Command
- func ModifyCommand() commands.Command
- func RestoreBackupCommand() commands.Command
- func SearchSingleStorage(uuidOrTitle string, service service.Storage) (*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 BackupCommand ¶
BackupCommand creates the "storage backup" command
func BaseStorageCommand ¶
BaseStorageCommand creates the base "storage" command
func CloneCommand ¶
CloneCommand creates the "storage clone" command
func CreateBackupCommand ¶
CreateBackupCommand creates the "storage backup create" 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 RestoreBackupCommand ¶
RestoreBackupCommand creates the "storage backup restore" 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.