Documentation ¶
Index ¶
- func Delete(restClient *client.RestClient, addr string, requestOpts *client.RequestOpts) error
- func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SubnetInfo, error)
- func ListCreatableSubnet(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SubnetInfo, error)
- type SubnetInfo
- type VNetworkReqInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(restClient *client.RestClient, addr string, requestOpts *client.RequestOpts) error
func List ¶
func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SubnetInfo, error)
func ListCreatableSubnet ¶
func ListCreatableSubnet(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SubnetInfo, error)
Types ¶
type SubnetInfo ¶
type SubnetInfo struct { ID string TenantId string Addr string Prefix string Gateway string Creator string Protection int Name string State string Vlan int CreatedAt string NicCount int Description string }
func Create ¶
func Create(restClient *client.RestClient, requestOpts *client.RequestOpts) (*SubnetInfo, error)
func Get ¶
func Get(restClient *client.RestClient, subnetId string, requestOpts *client.RequestOpts) (*SubnetInfo, error)
Click to show internal directories.
Click to hide internal directories.