func (c *CredentialCollection) UpdateCloudCredential(cloudName string, details CloudCredential) {
	if len(details.AuthCredentials) == 0 {
		delete(c.Credentials, cloudName)
		return
	}
	if c.Credentials == nil {
		c.Credentials = make(map[string]interface{})
	}
	details.validateDefaultCredential()
	c.Credentials[cloudName] = details
}
// UpdateCloudCredential stores a CloudCredential for a specific cloud.
UpdateCloudCredential stores a CloudCredential for a specific cloud.
// UpdateCloudCredential stores a CloudCredential for a specific cloud .
func (c *CredentialCollection) UpdateCloudCredential(cloudName string, details CloudCredential) {
	if len(details.AuthCredentials) == 0 {
		delete(c.Credentials, cloudName)
		return
	}
	if c.Credentials == nil {
		c.Credentials = make(map[string]interface{})
	}
	details.validateDefaultCredential()
	c.Credentials[cloudName] = details
}
func ( c * CredentialCollection ) UpdateCloudCredential ( cloudName string , details CloudCredential ) { if len ( details . AuthCredentials ) == 0 { delete ( c . Credentials , cloudName ) return } if c . Credentials == nil { c . Credentials = make ( map [ string ] interface { } ) } details . validateDefaultCredential ( ) c . Credentials [ cloudName ] = details }
UpdateCloudCredential stores a CloudCredential for a specific cloud.
UpdateCloudCredential stores a CloudCredential for a specific cloud .