package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/golangsdk.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Create is a method to build a new network port.
Delete is a method to remove an existing network port by ID.
ExtractPorts accepts a Page struct, specifically a PortPage struct, and extracts the elements into a slice of Port structs.
Get is a method to obtain the network port details.
List returns a Pager which allows you to iterate over a collection of ports.
Update is a method to update the existing network port.
# Structs
AddressPair is an Object specifying the IP/Mac addresses pair.
CreateOpts is the structure required by the Create method to build a new network port.
DnsAssignment is an Object specifying the private network domain information.
ExtraDhcpOpt is an Object specifying the DHCP extended properties.
FixedIp is an Object specifying the IP information of the port.
ListOpts allows the filtering of paginated collections through the API.
Port is an API response structure of the network VIP.
PortPage is the page returned by a pager when traversing over a collection of network ports.
UpdateOpts is the structure required by the Update method to update the configuration of the specified network port.
VifDetail is an Object specifying the VIF details.
# Interfaces
ListOptsBuilder allows extensions to add additional parameters to the List request.