services

package
v0.0.0-...-51acebc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2016 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create accepts a CreateOpts struct and creates a new CDN service using the values provided.

func Delete

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

func Get

Get retrieves a specific service based on its unique ID.

func List

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL