Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient, opts ListSiteOptsBuilder) pagination.Pager
List returns a Pager which allows you to iterate over a collection of sites. It accepts a ListOpts struct, which allows you to filter and sort the returned collection for greater efficiency.
func ListURL ¶
func ListURL(sc *golangsdk.ServiceClient) string
Types ¶
type ListSiteOpts ¶
type ListSiteOpts struct { //Limit query limit Limit string `q:"limit"` //Offset query begin index Offset string `q:"offset"` //id query by id ID string `q:"id"` //Area query by area Area string `q:"area"` //Province query by province Province string `q:"province"` //City query by city City string `q:"city"` //Operator query by operator Operator string `q:"operator"` }
ListSiteOpts to list site
func (ListSiteOpts) ToListSiteQuery ¶
func (opts ListSiteOpts) ToListSiteQuery() (string, error)
ToListSiteQuery converts ListSiteOpts structures to query string
type ListSiteOptsBuilder ¶
ListSiteOptsBuilder list sites builder
type SitePage ¶
type SitePage struct {
pagination.LinkedPageBase
}
SitePage is the page returned by a pager when traversing over a collection of sites.
Click to show internal directories.
Click to hide internal directories.