Documentation ¶
Index ¶
- Constants
- Variables
- type OpenstackProvider
- func (p *OpenstackProvider) GenerateNetworkRequestFromNetworkResponse(response *models_cloudbreak.NetworkResponse) *models_cloudbreak.NetworkV2Request
- func (p *OpenstackProvider) GetCredentialParameters(stringFinder func(string) string) (map[string]interface{}, error)
- func (p *OpenstackProvider) GetInstanceGroupParamatersTemplate(node cloud.Node) map[string]interface{}
- func (p *OpenstackProvider) GetName() *string
- func (p *OpenstackProvider) GetNetworkParamatersTemplate(mode cloud.NetworkMode) map[string]interface{}
- func (p *OpenstackProvider) GetParamatersTemplate() map[string]interface{}
Constants ¶
View Source
const ( KEYSTONE_V2 = "cb-keystone-v2" KEYSTONE_V3 = "cb-keystone-v3" SCOPE_TEMPLATE = "cb-keystone-v3-%s-scope" )
Variables ¶
View Source
var FACINGS = []string{"public", "admin", "internal"}
View Source
var SCOPES = []string{"project", "domain"}
Functions ¶
This section is empty.
Types ¶
type OpenstackProvider ¶
type OpenstackProvider struct {
cloud.DefaultCloudProvider
}
func (*OpenstackProvider) GenerateNetworkRequestFromNetworkResponse ¶
func (p *OpenstackProvider) GenerateNetworkRequestFromNetworkResponse(response *models_cloudbreak.NetworkResponse) *models_cloudbreak.NetworkV2Request
func (*OpenstackProvider) GetCredentialParameters ¶
func (p *OpenstackProvider) GetCredentialParameters(stringFinder func(string) string) (map[string]interface{}, error)
func (*OpenstackProvider) GetInstanceGroupParamatersTemplate ¶
func (p *OpenstackProvider) GetInstanceGroupParamatersTemplate(node cloud.Node) map[string]interface{}
func (*OpenstackProvider) GetName ¶
func (p *OpenstackProvider) GetName() *string
func (*OpenstackProvider) GetNetworkParamatersTemplate ¶
func (p *OpenstackProvider) GetNetworkParamatersTemplate(mode cloud.NetworkMode) map[string]interface{}
func (*OpenstackProvider) GetParamatersTemplate ¶
func (p *OpenstackProvider) GetParamatersTemplate() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.