File: fixtures.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,416 kB
  • sloc: sh: 99; makefile: 21
file content (19 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package testing

// NoAuthResult is the expected result of the noauth Service Client
type NoAuthResult struct {
	TokenID  string
	Endpoint string
}

var naTestResult = NoAuthResult{
	TokenID:  "user:test",
	Endpoint: "http://cinder:8776/v2/test/",
}

var naResult = NoAuthResult{
	TokenID:  "admin:admin",
	Endpoint: "http://cinder:8776/v2/admin/",
}

var errorResult = "CinderEndpoint is required"