Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractDevicesInto ¶
func ExtractDevicesInto(r pagination.Page, v any) error
Types ¶
type Device ¶
type Device struct { UUID string `json:"uuid"` Hostname string `json:"hostname"` Type string `json:"type"` Vendor string `json:"vendor"` Model string `json:"model"` StdBoardInfo string `json:"std_board_info"` VendorBoardInfo string `json:"vendor_board_info"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
func ExtractDevices ¶
func ExtractDevices(r pagination.Page) ([]Device, error)
func List ¶
func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) ([]Device, error)
type DevicePage ¶
type DevicePage struct {
pagination.LinkedPageBase
}
func (DevicePage) IsEmpty ¶
func (d DevicePage) IsEmpty() (bool, error)
func (DevicePage) NextPageURL ¶
func (r DevicePage) NextPageURL() (string, error)
type ListOpts ¶
type ListOpts struct { Type string `q:"type"` Vendor string `q:"vendor"` Hostname string `q:"hostname"` Filters map[string]string `q:"-"` }
func (ListOpts) ToDeviceListQuery ¶
type ListOptsBuilder ¶
Click to show internal directories.
Click to hide internal directories.