Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlbertaAuthOpts = &gophercloud.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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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", EndpointType: "public", 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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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{ EndpointType: "internal", Regions: []clientconfig.Region{{ Name: "SAN", }, { Name: "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 DisconnectedAnywhereCloudYAML = clientconfig.Cloud{ AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://anywhere.example.com:5000/v3", Username: "jdoe", Password: "password", ProjectName: "Some Project", }, Regions: disconnected_regions, Verify: &iTrue, }
View Source
var DisconnectedNowhereCloudYAML = clientconfig.Cloud{ AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://nowhere.example.com:5000/v3", Username: "jdoe", Password: "password", ProjectName: "Some Project", }, Regions: disconnected_regions, Verify: &iTrue, }
View Source
var DisconnectedSomewhereCloudYAML = clientconfig.Cloud{ AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://somewhere.example.com:5000/v3", Username: "jdoe", Password: "password", ProjectName: "Some Project", }, Regions: disconnected_regions, Verify: &iTrue, }
View Source
var FloridaAuthOpts = &gophercloud.AuthOptions{ Scope: &gophercloud.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", Interface: "admin", 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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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", AuthType: "password", EndpointType: "internal", 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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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", EndpointType: "admin", 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 PhiladelphiaComplexPhl1CloudYAML = clientconfig.Cloud{ AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://phl1.example.com:5000/v3", Username: "jdoe", Password: "password", ProjectName: "Some Project", }, Regions: []clientconfig.Region{ { Name: "PHL1", Values: clientconfig.Cloud{AuthInfo: &clientconfig.AuthInfo{AuthURL: "https://phl1.example.com:5000/v3"}}, }, { Name: "PHL2", Values: clientconfig.Cloud{}, }, }, Verify: &iTrue, }
View Source
var PhiladelphiaComplexPhl2CloudYAML = clientconfig.Cloud{ AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://phl.example.com:5000/v3", Username: "jdoe", Password: "password", ProjectName: "Some Project", }, Regions: []clientconfig.Region{ { Name: "PHL1", Values: clientconfig.Cloud{AuthInfo: &clientconfig.AuthInfo{AuthURL: "https://phl1.example.com:5000/v3"}}, }, { Name: "PHL2", Values: clientconfig.Cloud{}, }, }, Verify: &iTrue, }
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 = &gophercloud.AuthOptions{ Scope: &gophercloud.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 VirginiaAuthOpts = &gophercloud.AuthOptions{ Scope: &gophercloud.AuthScope{}, IdentityEndpoint: "https://va.example.com:5000/v3", ApplicationCredentialID: "app-cred-id", ApplicationCredentialSecret: "secret", }
View Source
var VirginiaCloudYAML = clientconfig.Cloud{ RegionName: "VA", AuthInfo: &clientconfig.AuthInfo{ AuthURL: "https://va.example.com:5000/v3", ApplicationCredentialID: "app-cred-id", ApplicationCredentialSecret: "secret", }, Verify: &iTrue, AuthType: "v3applicationcredential", }
View Source
var VirginiaEnvAuth = map[string]string{
"OS_AUTH_URL": "https://va.example.com:5000/v3",
"OS_APPLICATION_CREDENTIAL_ID": "app-cred-id",
"OS_APPLICATION_CREDENTIAL_SECRET": "secret",
}
View Source
var YukonAuthOpts = &gophercloud.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.
Click to show internal directories.
Click to hide internal directories.