blob: 487e6796678490ff4825cffb2ebf92c18d98a9b7 [file] [log] [blame]
Krzysztof Szukiełojć6b2d29f2017-05-15 11:55:02 +02001package os_services
2
3import (
4 gophercloud "gerrit.mcp.mirantis.net/debian/gophercloud.git"
5 "gerrit.mcp.mirantis.net/debian/gophercloud.git/pagination"
6)
7
8// List returns a Pager that allows you to iterate over a collection of Network.
9func List(client *gophercloud.ServiceClient) pagination.Pager {
10 return pagination.NewPager(client, listURL(client), func(r pagination.PageResult) pagination.Page {
11 return OsServicePage{pagination.SinglePageBase(r)}
12 })
13}