Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func CreateURL(c *gophercloud.ServiceClient) string + func DeleteURL(c *gophercloud.ServiceClient, vpcId string) string + func GetURL(c *gophercloud.ServiceClient, vpcId string) string + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListURL(c *gophercloud.ServiceClient) string + func UpdateURL(c *gophercloud.ServiceClient, vpcId string) string + type CreateOpts struct + Cidr string + Description string + EnterpriseProjectId string + Name string + func (opts CreateOpts) ToVPCCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToVPCCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*VPC, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, vpcId string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, vpcId string) (r GetResult) + func (r GetResult) Extract() (*VPC, error) + type ListOpts struct + EnterpriseProjectID string + Limit int + Marker string + func (opts ListOpts) ToVPCListQuery() (string, error) + type ListOptsBuilder interface + ToVPCListQuery func() (string, error) + type Route struct + Destination string + Nexthop string + type UpdateOpts struct + Cidr string + Description string + Name string + func (opts UpdateOpts) ToVPCUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToVPCUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, vpcId string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*VPC, error) + type VPC struct + Cidr string + Description string + EnterpriseProjectId string + ID string + Name string + Routes []Route + Status string + func ExtractVpcs(r pagination.Page) ([]VPC, error) + type VpcPage struct + func (r VpcPage) IsEmpty() (bool, error) + func (r VpcPage) NextPageURL() (string, error)