Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOptsExt ¶
type CreateOptsExt struct {
	networks.CreateOptsBuilder
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int `json:"mtu,omitempty"`
}
    CreateOptsExt adds an MTU option to the base Network CreateOpts.
func (CreateOptsExt) ToNetworkCreateMap ¶
func (opts CreateOptsExt) ToNetworkCreateMap() (map[string]interface{}, error)
ToNetworkCreateMap adds an MTU to the base network creation options.
type ListOptsExt ¶
type ListOptsExt struct {
	networks.ListOptsBuilder
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int `q:"mtu"`
}
    ListOptsExt adds an MTU option to the base ListOpts.
func (ListOptsExt) ToNetworkListQuery ¶
func (opts ListOptsExt) ToNetworkListQuery() (string, error)
ToNetworkListQuery adds the router:external option to the base network list options.
type NetworkMTUExt ¶
type NetworkMTUExt struct {
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int `json:"mtu"`
}
    NetworkMTUExt represents an extended form of a Network with additional MTU field.
type UpdateOptsExt ¶
type UpdateOptsExt struct {
	networks.UpdateOptsBuilder
	// The maximum transmission unit (MTU) value to address fragmentation.
	// Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int `json:"mtu,omitempty"`
}
    CreateOptsExt adds an MTU option to the base Network UpdateOpts.
func (UpdateOptsExt) ToNetworkUpdateMap ¶
func (opts UpdateOptsExt) ToNetworkUpdateMap() (map[string]interface{}, error)
ToNetworkUpdateMap adds an MTU to the base network uptade options.
 Click to show internal directories. 
   Click to hide internal directories.