package rackspace

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace"

Index

Constants

const (
	// RackspaceUSIdentity is an identity endpoint located in the United States.
	RackspaceUSIdentity = "https://identity.api.rackspacecloud.com/v2.0/"

	// RackspaceUKIdentity is an identity endpoint located in the UK.
	RackspaceUKIdentity = "https://lon.identity.api.rackspacecloud.com/v2.0/"
)

Variables

var (
	ErrNoAuthURL  = fmt.Errorf("Environment variable RS_AUTH_URL or OS_AUTH_URL need to be set.")
	ErrNoUsername = fmt.Errorf("Environment variable RS_USERNAME or OS_USERNAME need to be set.")
	ErrNoPassword = fmt.Errorf("Environment variable RS_API_KEY or RS_PASSWORD needs to be set.")
)

ErrNoAuthUrl, ErrNoUsername, and ErrNoPassword errors indicate of the required RS_AUTH_URL, RS_USERNAME, or RS_PASSWORD environment variables, respectively, remain undefined. See the AuthOptions() function for more details.

Functions

func AuthOptionsFromEnv

func AuthOptionsFromEnv() (gophercloud.AuthOptions, error)

AuthOptionsFromEnv fills out an identity.AuthOptions structure with the settings found on the various Rackspace RS_* environment variables.

func Authenticate

func Authenticate(client *gophercloud.ProviderClient, options gophercloud.AuthOptions) error

Authenticate or re-authenticate against the most recent identity service supported at the provided endpoint.

func AuthenticateV2

func AuthenticateV2(client *gophercloud.ProviderClient, options gophercloud.AuthOptions) error

AuthenticateV2 explicitly authenticates with v2 of the identity service.

func AuthenticatedClient

func AuthenticatedClient(options gophercloud.AuthOptions) (*gophercloud.ProviderClient, error)

AuthenticatedClient logs in to Rackspace with the provided credentials and constructs a ProviderClient that's ready to operate.

If the provided AuthOptions does not specify an explicit IdentityEndpoint, it will default to the canonical, production Rackspace US identity endpoint.

func NewBlockStorageV1

NewBlockStorageV1 creates a ServiceClient that can be used to access the Rackspace Cloud Block Storage v1 API.

func NewCDNV1

NewCDNV1 creates a ServiceClient that may be used to access the Rackspace v1 CDN service.

func NewClient

func NewClient(endpoint string) (*gophercloud.ProviderClient, error)

NewClient creates a client that's prepared to communicate with the Rackspace API, but is not yet authenticated. Most users will probably prefer using the AuthenticatedClient function instead.

Provide the base URL of the identity endpoint you wish to authenticate against as "endpoint". Often, this will be either RackspaceUSIdentity or RackspaceUKIdentity.

func NewComputeV2

NewComputeV2 creates a ServiceClient that may be used to access the v2 compute service.

func NewIdentityV2

func NewIdentityV2(client *gophercloud.ProviderClient) *gophercloud.ServiceClient

NewIdentityV2 creates a ServiceClient that may be used to access the v2 identity service.

func NewLBV1

NewLBV1 creates a ServiceClient that can be used to access the Rackspace Cloud Load Balancer v1 API.

func NewNetworkV2

NewNetworkV2 creates a ServiceClient that can be used to access the Rackspace Networking v2 API.

func NewObjectCDNV1

NewObjectCDNV1 creates a ServiceClient that may be used with the Rackspace v1 CDN.

func NewObjectStorageV1

NewObjectStorageV1 creates a ServiceClient that may be used with the Rackspace v1 object storage package.

func NewOrchestrationV1

NewOrchestrationV1 creates a ServiceClient that may be used to access the v1 orchestration service.

func NewRackConnectV3

NewRackConnectV3 creates a ServiceClient that may be used to access the v3 RackConnect service.

Source Files

auth_env.go client.go

Directories

PathSynopsis
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/snapshotsPackage snapshots provides information and interaction with the snapshot API resource for the Rackspace Block Storage service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumesPackage volumes provides information and interaction with the volume API resource for the Rackspace Block Storage service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumetypesPackage volumetypes provides information and interaction with the volume type API resource for the Rackspace Block Storage service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/basePackage base provides information and interaction with the base API resource in the Rackspace CDN service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/flavorsPackage flavors provides information and interaction with the flavors API resource in the Rackspace CDN service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/serviceassetsPackage serviceassets provides information and interaction with the serviceassets API resource in the Rackspace CDN service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/servicesPackage services provides information and interaction with the services API resource in the Rackspace CDN service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/bootfromvolume
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/flavorsPackage flavors provides information and interaction with the flavor API resource for the Rackspace Cloud Servers service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/imagesPackage images provides information and interaction with the image API resource for the Rackspace Cloud Servers service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/keypairsPackage keypairs provides information and interaction with the keypair API resource for the Rackspace Cloud Servers service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/networksPackage networks provides information and interaction with the network API resource for the Rackspace Cloud Servers service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/serversPackage servers provides information and interaction with the server API resource for the Rackspace Cloud Servers service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/virtualinterfaces
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/compute/v2/volumeattachPackage volumeattach provides the ability to attach and detach volume to instances to Rackspace servers
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/extensionsPackage extensions provides information and interaction with the all the extensions available for the Rackspace Identity service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/roles
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/tenantsPackage tenants provides information and interaction with the tenant API resource for the Rackspace Identity service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/tokensPackage tokens provides information and interaction with the token API resource for the Rackspace Identity service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/identity/v2/users
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/aclPackage acl provides information and interaction with the access lists feature of the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/lbsPackage lbs provides information and interaction with the Load Balancer API resource for the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/monitorsPackage monitors provides information and interaction with the Health Monitor API resource for the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/nodesPackage nodes provides information and interaction with the Node API resource for the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/sessionsPackage sessions provides information and interaction with the Session Persistence feature of the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/sslPackage ssl provides information and interaction with the SSL Termination feature of the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/throttlePackage throttle provides information and interaction with the Connection Throttling feature of the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/lb/v1/vipsPackage vips provides information and interaction with the Virtual IP API resource for the Rackspace Cloud Load Balancer service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/common
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/networks
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/ports
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/securityPackage security contains functionality to work with security group and security group rules Neutron resources.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/security/groups
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/security/rules
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/networking/v2/subnets
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/accountsPackage accounts provides information and interaction with the account API resource for the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/bulkPackage bulk provides functionality for working with bulk operations in the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/cdncontainersPackage cdncontainers provides information and interaction with the CDN Container API resource for the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/cdnobjectsPackage cdnobjects provides information and interaction with the CDN Object API resource for the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/containersPackage containers provides information and interaction with the Container API resource for the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/objectstorage/v1/objectsPackage objects provides information and interaction with the Object API resource for the Rackspace Cloud Files service.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1/buildinfoPackage buildinfo provides build information about heat deployments.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1/stackeventsPackage stackevents provides operations for finding, listing, and retrieving stack events.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1/stackresourcesPackage stackresources provides operations for working with stack resources.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1/stacksPackage stacks provides operation for working with Heat stacks.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/orchestration/v1/stacktemplatesPackage stacktemplates provides operations for working with Heat templates.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/rackconnect
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/rackconnect/v3Package rackconnect allows Rackspace cloud accounts to leverage version 3 of RackConnect, Rackspace's hybrid connectivity solution connecting dedicated and cloud servers.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/rackconnect/v3/cloudnetworks
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/rackconnect/v3/lbpoolsPackage lbpools provides access to load balancer pools associated with a RackConnect configuration.
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/rackconnect/v3/publicips
Version
v0.17.1
Published
May 21, 2015
Platform
js/wasm
Imports
6 packages
Last checked
1 minute ago

Tools for package owners.