func ValidateBootstrapConfig(cfg BootstrapConfig) error {
	if cfg.Cloud == "" {
		return errors.NotValidf("empty cloud name")
	}
	if cfg.CloudType == "" {
		return errors.NotValidf("empty cloud type")
	}
	if len(cfg.Config) == 0 {
		return errors.NotValidf("empty config")
	}
	return nil
}
// ValidateBootstrapConfig validates the given boostrap config.
ValidateBootstrapConfig validates the given boostrap config.
// ValidateBootstrapConfig validates the given boostrap config .
func ValidateBootstrapConfig(cfg BootstrapConfig) error {
	if cfg.Cloud == "" {
		return errors.NotValidf("empty cloud name")
	}
	if cfg.CloudType == "" {
		return errors.NotValidf("empty cloud type")
	}
	if len(cfg.Config) == 0 {
		return errors.NotValidf("empty config")
	}
	return nil
}
func ValidateBootstrapConfig ( cfg BootstrapConfig ) error { if cfg . Cloud == " " { return errors . NotValidf ( " " ) } if cfg . CloudType == " " { return errors . NotValidf ( " " ) } if len ( cfg . Config ) == 0 { return errors . NotValidf ( " " ) } return nil }
ValidateBootstrapConfig validates the given boostrap config.
ValidateBootstrapConfig validates the given boostrap config .