Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 v1.0.12 Apr 7, 2019 Changes in this version + func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AddSecurityServiceOpts struct + SecurityServiceID string + func (opts AddSecurityServiceOpts) ToShareNetworkAddSecurityServiceMap() (map[string]interface{}, error) + type AddSecurityServiceOptsBuilder interface + ToShareNetworkAddSecurityServiceMap func() (map[string]interface{}, error) + type AddSecurityServiceResult struct + func (r AddSecurityServiceResult) Extract() (*ShareNetwork, error) + type CreateOpts struct + Description string + Name string + NeutronNetID string + NeutronSubnetID string + NovaNetID string + func (opts CreateOpts) ToShareNetworkCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToShareNetworkCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*ShareNetwork, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*ShareNetwork, error) + type ListOpts struct + AllTenants bool + CreatedBefore string + CreatedSince string + Description string + IPVersion gophercloud.IPVersion + Limit int + Name string + NetworkType string + NeutronNetID string + NeutronSubnetID string + NovaNetID string + Offset int + ProjectID string + SegmentationID int + func (opts ListOpts) ToShareNetworkListQuery() (string, error) + type ListOptsBuilder interface + ToShareNetworkListQuery func() (string, error) + type RemoveSecurityServiceOpts struct + SecurityServiceID string + func (opts RemoveSecurityServiceOpts) ToShareNetworkRemoveSecurityServiceMap() (map[string]interface{}, error) + type RemoveSecurityServiceOptsBuilder interface + ToShareNetworkRemoveSecurityServiceMap func() (map[string]interface{}, error) + type RemoveSecurityServiceResult struct + func (r RemoveSecurityServiceResult) Extract() (*ShareNetwork, error) + type ShareNetwork struct + CIDR string + CreatedAt time.Time + Description string + ID string + IPVersion int + Name string + NetworkType string + NeutronNetID string + NeutronSubnetID string + NovaNetID string + ProjectID string + SegmentationID int + UpdatedAt time.Time + func ExtractShareNetworks(r pagination.Page) ([]ShareNetwork, error) + func (r *ShareNetwork) UnmarshalJSON(b []byte) error + type ShareNetworkPage struct + func (r ShareNetworkPage) IsEmpty() (bool, error) + func (r ShareNetworkPage) LastMarker() (string, error) + func (r ShareNetworkPage) NextPageURL() (string, error) + type UpdateOpts struct + Description string + Name string + NeutronNetID string + NeutronSubnetID string + NovaNetID string + func (opts UpdateOpts) ToShareNetworkUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToShareNetworkUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func AddSecurityService(client *gophercloud.ServiceClient, id string, ...) (r UpdateResult) + func RemoveSecurityService(client *gophercloud.ServiceClient, id string, ...) (r UpdateResult) + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*ShareNetwork, error)