package services
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/services"
Package services provides information and interaction with the services API resource in the Rackspace CDN service. This API resource allows for listing, creating, updating, retrieving, and deleting services.
A service represents an application that has its content cached to the edge nodes.
Index ¶
- func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
- func Delete(c *gophercloud.ServiceClient, id string) os.DeleteResult
- func Get(c *gophercloud.ServiceClient, id string) os.GetResult
- func List(c *gophercloud.ServiceClient, opts os.ListOptsBuilder) pagination.Pager
- func Update(c *gophercloud.ServiceClient, id string, patches []os.Patch) os.UpdateResult
Functions ¶
func Create ¶
func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
Create accepts a CreateOpts struct and creates a new CDN service using the values provided.
func Delete ¶
func Delete(c *gophercloud.ServiceClient, id string) os.DeleteResult
Delete accepts a unique ID and deletes the CDN service associated with it.
func Get ¶
func Get(c *gophercloud.ServiceClient, id string) os.GetResult
Get retrieves a specific service based on its unique ID.
func List ¶
func List(c *gophercloud.ServiceClient, opts os.ListOptsBuilder) pagination.Pager
List returns a Pager which allows you to iterate over a collection of CDN services. It accepts a ListOpts struct, which allows for pagination via marker and limit.
func Update ¶
func Update(c *gophercloud.ServiceClient, id string, patches []os.Patch) os.UpdateResult
Update accepts a UpdateOpts struct and updates an existing CDN service using the values provided.
Source Files ¶
delegate.go doc.go
- Version
- v1.1.4-beta.0
- Published
- Dec 7, 2015
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 8 seconds ago –
Tools for package owners.