rackspaceauth

package
v0.0.0-...-4f62784 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigAndAuthenticate

func LoadConfigAndAuthenticate()

LoadConfigAndAuthenticate loads the RackSpace credentials.

Types

type Endpoint

type Endpoint struct {
	URL    string `json:"publicURL"`
	Region string `json:"region"`
}

Endpoint represents the enpoint of a particular service

type TokenSource

type TokenSource struct {
	RackSpaceTenantID   string
	RackSpaceTenantName string
	RackSpaceAuthToken  string
	RackSpaceAPIKey     string
	RackSpaceUsername   string
	Endpoints           map[string][]Endpoint
}

TokenSource struct for representing RackSpace credentials.

var Token TokenSource

Token is a variable of type TokenSource.

Jump to

Keyboard shortcuts

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