gophercomputev1

package module
v0.0.0-...-7da8ee8 Latest Latest
Warning

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

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

README

gophercomputev1

Compute v1 resources for Rackspace.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

List makes a request against the API to list servers accessible to you.

func NewComputeV1

NewComputeV1 creates a ServiceClient that may be used to access the v1 compute service.

Types

type ListOpts

type ListOpts struct {
	Limit  int `q:"limit"`
	Offset int `q:"offset"`
}

ListOpts allows pagination of the tenant's servers.

func (ListOpts) ToServerListQuery

func (opts ListOpts) ToServerListQuery() (string, error)

ToServerListQuery formats a ListOpts into a query string.

Jump to

Keyboard shortcuts

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