gophercloud: Index | Files

package services

import ""

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.


Package Files

delegate.go doc.go

func Create Uses

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 Uses

func Delete(c *gophercloud.ServiceClient, id string) os.DeleteResult

Delete accepts a unique ID and deletes the CDN service associated with it.

func Get Uses

func Get(c *gophercloud.ServiceClient, id string) os.GetResult

Get retrieves a specific service based on its unique ID.

func List Uses

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 Uses

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.

Package services imports 3 packages (graph). Updated 2016-07-23. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).