testing

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlbertaAuthOpts = &eclcloud.AuthOptions{
	IdentityEndpoint: "https://ab.example.com:5000/v2.0",
	Username:         "jdoe",
	Password:         "password",
	TenantName:       "Some Project",
}
View Source
var AlbertaClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://ab.example.com:5000/v2.0",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
	},
}
View Source
var AlbertaCloudYAML = clientconfig.Cloud{
	RegionName: "YYC",
	AuthType:   clientconfig.AuthPassword,
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://ab.example.com:5000/v2.0",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
	},
	Verify: &iTrue,
}
View Source
var AlbertaEnvAuth = map[string]string{
	"OS_AUTH_URL":             "https://ab.example.com:5000/v2.0",
	"OS_USERNAME":             "jdoe",
	"OS_PASSWORD":             "password",
	"OS_PROJECT_NAME":         "Some Project",
	"OS_IDENTITY_API_VERSION": "2.0",
}
View Source
var ArizonaAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainName:  "default",
	},
	IdentityEndpoint: "https://az.example.com:5000/v3",
	TokenID:          "12345",
	TenantName:       "Some Project",
}
View Source
var ArizonaClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://az.example.com:5000/v3",
		Token:       "12345",
		ProjectName: "Some Project",
		DomainName:  "default",
	},
}
View Source
var ArizonaCloudYAML = clientconfig.Cloud{
	RegionName: "PHX",
	AuthType:   clientconfig.AuthToken,
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://az.example.com:5000/v3",
		Token:       "12345",
		ProjectName: "Some Project",
		DomainName:  "default",
	},
	Verify: &iTrue,
}
View Source
var ArizonaEnvAuth = map[string]string{
	"OS_AUTH_URL":     "https://az.example.com:5000/v3",
	"OS_TOKEN":        "12345",
	"OS_PROJECT_NAME": "Some Project",
	"OS_DOMAIN_NAME":  "default",
}
View Source
var CaliforniaAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainName:  "default",
	},
	IdentityEndpoint: "https://ca.example.com:5000/v3",
	Username:         "jdoe",
	Password:         "password",
	TenantName:       "Some Project",
	DomainName:       "default",
}
View Source
var CaliforniaClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://ca.example.com:5000/v3",
		Username:          "jdoe",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "default",
		UserDomainName:    "default",
	},
}
View Source
var CaliforniaCloudYAML = clientconfig.Cloud{
	Regions: []interface{}{
		"SAN",
		"LAX",
	},
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://ca.example.com:5000/v3",
		Username:          "jdoe",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "default",
		UserDomainName:    "default",
	},
	Verify: &iTrue,
}
View Source
var CaliforniaEnvAuth = map[string]string{
	"OS_AUTH_URL":            "https://ca.example.com:5000/v3",
	"OS_USERNAME":            "jdoe",
	"OS_PASSWORD":            "password",
	"OS_PROJECT_NAME":        "Some Project",
	"OS_PROJECT_DOMAIN_NAME": "default",
	"OS_USER_DOMAIN_NAME":    "default",
}
View Source
var ChicagoCloudLegacyYAML = clientconfig.Cloud{
	Cloud:      "rackspace",
	RegionName: "ORD",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://identity.api.rackspacecloud.com/v2.0/",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
	},
	Verify: &iTrue,
}
View Source
var ChicagoCloudUseProfileYAML = clientconfig.Cloud{
	Cloud:      "rackspace",
	Profile:    "rackspace",
	RegionName: "ORD",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://identity.api.rackspacecloud.com/v2.0/",
		Username:    "jdoe",
		Password:    "securepassword",
		ProjectName: "Some Project",
	},
	Verify: &iTrue,
}
View Source
var ChicagoCloudYAML = clientconfig.Cloud{
	Profile:    "rackspace",
	RegionName: "ORD",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://identity.api.rackspacecloud.com/v2.0/",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
	},
	Verify: &iTrue,
}
View Source
var CloudYAML = clientconfig.Clouds{
	Clouds: map[string]clientconfig.Cloud{
		"hawaii":     HawaiiCloudYAML,
		"florida":    FloridaCloudYAML,
		"california": CaliforniaCloudYAML,
		"arizona":    ArizonaCloudYAML,
		"newmexico":  NewMexicoCloudYAML,
		"nevada":     NevadaCloudYAML,
		"texas":      TexasCloudYAML,
	},
}
View Source
var FloridaAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectID: "12345",
	},
	IdentityEndpoint: "https://fl.example.com:5000/v3",
	Username:         "jdoe",
	Password:         "password",
	TenantID:         "12345",
	DomainID:         "abcde",
}
View Source
var FloridaClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:      "https://fl.example.com:5000/v3",
		Username:     "jdoe",
		Password:     "password",
		ProjectID:    "12345",
		UserDomainID: "abcde",
	},
}
View Source
var FloridaCloudYAML = clientconfig.Cloud{
	RegionName: "MIA",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:      "https://fl.example.com:5000/v3",
		Username:     "jdoe",
		Password:     "password",
		ProjectID:    "12345",
		UserDomainID: "abcde",
	},
	Verify: &iTrue,
}
View Source
var FloridaEnvAuth = map[string]string{
	"OS_AUTH_URL":       "https://fl.example.com:5000/v3",
	"OS_USERNAME":       "jdoe",
	"OS_PASSWORD":       "password",
	"OS_PROJECT_ID":     "12345",
	"OS_USER_DOMAIN_ID": "abcde",
}
View Source
var HawaiiAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainName:  "default",
	},
	IdentityEndpoint: "https://hi.example.com:5000/v3",
	Username:         "jdoe",
	Password:         "password",
	TenantName:       "Some Project",
	DomainName:       "default",
}
View Source
var HawaiiClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://hi.example.com:5000/v3",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
		DomainName:  "default",
	},
}
View Source
var HawaiiCloudYAML = clientconfig.Cloud{
	RegionName: "HNL",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://hi.example.com:5000/v3",
		Username:    "jdoe",
		Password:    "password",
		ProjectName: "Some Project",
		DomainName:  "default",
	},
	Verify: &iTrue,
}
View Source
var HawaiiEnvAuth = map[string]string{
	"OS_AUTH_URL":     "https://hi.example.com:5000/v3",
	"OS_USERNAME":     "jdoe",
	"OS_PASSWORD":     "password",
	"OS_PROJECT_NAME": "Some Project",
	"OS_DOMAIN_NAME":  "default",
}
View Source
var InsecureFloridaCloudYAML = clientconfig.Cloud{
	RegionName: "MIA",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:      "https://fl.example.com:5000/v3",
		Username:     "jdoe",
		Password:     "password",
		ProjectID:    "12345",
		UserDomainID: "abcde",
	},
	Verify:         &iFalse,
	ClientKeyFile:  "",
	ClientCertFile: "",
	CACertFile:     "",
}
View Source
var LegacyCloudYAML = clientconfig.Clouds{
	Clouds: map[string]clientconfig.Cloud{
		"alberta": AlbertaCloudYAML,
		"yukon":   YukonCloudYAML,
	},
}
View Source
var NevadaAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainName:  "Some Domain",
	},
	IdentityEndpoint: "https://nv.example.com:5000/v3",
	UserID:           "12345",
	Password:         "password",
	TenantName:       "Some Project",
}
View Source
var NevadaClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://nv.example.com:5000/v3",
		UserID:            "12345",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "Some Domain",
	},
}
View Source
var NevadaCloudYAML = clientconfig.Cloud{
	RegionName: "LAS",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://nv.example.com:5000/v3",
		UserID:            "12345",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "Some Domain",
	},
	Verify: &iTrue,
}
View Source
var NevadaEnvAuth = map[string]string{
	"OS_AUTH_URL":            "https://nv.example.com:5000/v3",
	"OS_USER_ID":             "12345",
	"OS_PASSWORD":            "password",
	"OS_PROJECT_NAME":        "Some Project",
	"OS_PROJECT_DOMAIN_NAME": "Some Domain",
}
View Source
var NewMexicoAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainName:  "Some Domain",
	},
	IdentityEndpoint: "https://nm.example.com:5000/v3",
	Username:         "jdoe",
	Password:         "password",
	TenantName:       "Some Project",
	DomainName:       "Other Domain",
}
View Source
var NewMexicoClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://nm.example.com:5000/v3",
		Username:          "jdoe",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "Some Domain",
		UserDomainName:    "Other Domain",
		DomainName:        "default",
	},
}
View Source
var NewMexicoCloudYAML = clientconfig.Cloud{
	RegionName: "SAF",
	AuthType:   clientconfig.AuthPassword,
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:           "https://nm.example.com:5000/v3",
		Username:          "jdoe",
		Password:          "password",
		ProjectName:       "Some Project",
		ProjectDomainName: "Some Domain",
		UserDomainName:    "Some OtherDomain",
		DomainName:        "default",
	},
	Verify: &iTrue,
}
View Source
var NewMexicoEnvAuth = map[string]string{
	"OS_AUTH_URL":            "https://nm.example.com:5000/v3",
	"OS_USERNAME":            "jdoe",
	"OS_PASSWORD":            "password",
	"OS_PROJECT_NAME":        "Some Project",
	"OS_PROJECT_DOMAIN_NAME": "Some Domain",
	"OS_USER_DOMAIN_NAME":    "Other Domain",
	"OS_DOMAIN_NAME":         "default",
}
View Source
var PhiladelphiaCloudYAML = clientconfig.Cloud{
	RegionName: "PHL",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://phl.example.com:5000/v3",
		Username:    "admin",
		Password:    "password",
		ProjectName: "Some Project",
	},
	Verify:   &iTrue,
	AuthType: "password",
}
View Source
var SecureFloridaCloudYAML = clientconfig.Cloud{
	RegionName: "MIA",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:      "https://fl.example.com:5000/v3",
		Username:     "jdoe",
		Password:     "password",
		ProjectID:    "12345",
		UserDomainID: "abcde",
	},
	Verify:         &iTrue,
	ClientKeyFile:  "/home/myhome/client-cert.key",
	ClientCertFile: "/home/myhome/client-cert.crt",
	CACertFile:     "/home/myhome/ca.crt",
}
View Source
var TexasAuthOpts = &eclcloud.AuthOptions{
	Scope: &eclcloud.AuthScope{
		ProjectName: "Some Project",
		DomainID:    "default",
	},
	IdentityEndpoint: "https://tx.example.com:5000/v3",
	Username:         "jdoe",
	Password:         "password",
	TenantName:       "Some Project",
	DomainName:       "Some Domain",
}
View Source
var TexasClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:        "https://tx.example.com:5000/v3",
		Username:       "jdoe",
		Password:       "password",
		ProjectName:    "Some Project",
		UserDomainName: "Some Domain",
		DefaultDomain:  "default",
	},
}
View Source
var TexasCloudYAML = clientconfig.Cloud{
	RegionName: "AUS",
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:        "https://tx.example.com:5000/v3",
		Username:       "jdoe",
		Password:       "password",
		ProjectName:    "Some Project",
		UserDomainName: "Some Domain",
		DefaultDomain:  "default",
	},
	Verify: &iTrue,
}
View Source
var TexasEnvAuth = map[string]string{
	"OS_AUTH_URL":         "https://tx.example.com:5000/v3",
	"OS_USERNAME":         "jdoe",
	"OS_PASSWORD":         "password",
	"OS_PROJECT_NAME":     "Some Project",
	"OS_USER_DOMAIN_NAME": "Some Domain",
	"OS_DEFAULT_DOMAIN":   "default",
}
View Source
var YukonAuthOpts = &eclcloud.AuthOptions{
	IdentityEndpoint: "https://yt.example.com:5000/v2.0",
	TokenID:          "12345",
	TenantName:       "Some Project",
}
View Source
var YukonClientOpts = &clientconfig.ClientOpts{
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://yt.example.com:5000/v2.0",
		Token:       "12345",
		ProjectName: "Some Project",
	},
}
View Source
var YukonCloudYAML = clientconfig.Cloud{
	RegionName: "YXY",
	AuthType:   clientconfig.AuthV2Token,
	AuthInfo: &clientconfig.AuthInfo{
		AuthURL:     "https://yt.example.com:5000/v2.0",
		Token:       "12345",
		ProjectName: "Some Project",
	},
	Verify: &iTrue,
}
View Source
var YukonEnvAuth = map[string]string{
	"OS_AUTH_URL":             "https://yt.example.com:5000/v2.0",
	"OS_TOKEN":                "12345",
	"OS_PROJECT_NAME":         "Some Project",
	"OS_IDENTITY_API_VERSION": "2",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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