Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOpts ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
type Interface ¶
type Interface struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` DCRouterID string `json:"dc_router_id"` NetworkID string `json:"network_id"` SubnetID string `json:"subnet_id"` BGPAnnounceEnabled bool `json:"bgp_announce_enabled"` PortID string `json:"port_id"` SDN string `json:"sdn"` IPAddress string `json:"ip_address"` IPNetmask int `json:"ip_netmask"` MACAddress string `json:"mac_address"` MTU int `json:"mtu"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_ad"` }
type InterfaceCreate ¶
type InterfaceCreate struct {
Interface *CreateOpts `json:"dc_interface"`
}
func (*InterfaceCreate) Map ¶
func (opts *InterfaceCreate) Map() (map[string]interface{}, error)
type InterfaceResp ¶
type InterfaceResp struct {
Interface Interface `json:"dc_interface"`
}
type InterfaceUpdate ¶
type InterfaceUpdate struct {
Interface *UpdateOpts `json:"dc_interface"`
}
func (*InterfaceUpdate) Map ¶
func (opts *InterfaceUpdate) Map() (map[string]interface{}, error)
type OptsBuilder ¶
type UpdateOpts ¶
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r UpdateResult)
Click to show internal directories.
Click to hide internal directories.