network

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseNetworkCommand

func BaseNetworkCommand() commands.Command

BaseNetworkCommand creates the base "network" command

func CreateCommand

func CreateCommand() commands.Command

CreateCommand creates the 'network create' command

func DeleteCommand

func DeleteCommand() commands.Command

DeleteCommand creates the 'network delete' command

func ListCommand

func ListCommand() commands.Command

ListCommand creates the "network list" command

func ModifyCommand

func ModifyCommand() commands.Command

ModifyCommand creates the "network modify" command

func SearchNetwork

func SearchNetwork(term string, service service.Network, unique bool) ([]*upcloud.Network, error)

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

func SearchUniqueNetwork(term string, service service.Network) (*upcloud.Network, error)

SearchUniqueNetwork returns exactly one network with name or uuid matching *term*

func ShowCommand

func ShowCommand() commands.Command

ShowCommand creates the "network show" command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL