ports

package
v0.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2015 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create accepts a CreateOpts struct and creates a new network using the values provided. You must remember to provide a NetworkID value.

func Delete

func Delete(c *gophercloud.ServiceClient, networkID string) os.DeleteResult

Delete accepts a unique ID and deletes the port associated with it.

func Get

func Get(c *gophercloud.ServiceClient, networkID string) os.GetResult

Get retrieves a specific port based on its unique ID.

func List

List returns a Pager which allows you to iterate over a collection of ports. It accepts a ListOpts struct, which allows you to filter and sort the returned collection for greater efficiency.

Default policy settings return only those ports that are owned by the tenant who submits the request, unless the request is submitted by a user with administrative rights.

func Update

Update accepts a UpdateOpts struct and updates an existing port using the values provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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