Documentation
¶
Index ¶
- func BaseNetworkCommand() commands.Command
- func CreateCommand() commands.Command
- func DeleteCommand() commands.Command
- func ListCommand() commands.Command
- func ModifyCommand() commands.Command
- func SearchNetwork(term string, service service.Network, unique bool) ([]*upcloud.Network, error)
- func SearchUniqueNetwork(term string, service service.Network) (*upcloud.Network, error)
- func ShowCommand() commands.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseNetworkCommand ¶
BaseNetworkCommand creates the base "network" command
func CreateCommand ¶
CreateCommand creates the 'network create' command
func DeleteCommand ¶
DeleteCommand creates the 'network delete' command
func ListCommand ¶
ListCommand creates the "network list" command
func ModifyCommand ¶
ModifyCommand creates the "network modify" command
func SearchNetwork ¶
SearchNetwork returns all networks whose name or uuid matches term. It will get the available networks from service once and cache the results on future calls
func SearchUniqueNetwork ¶
SearchUniqueNetwork returns exactly one network with name or uuid matching *term*
func ShowCommand ¶
ShowCommand creates the "network show" command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.