func ParseBootstrapConfig(data []byte) (map[string]BootstrapConfig, error) {
	var result bootstrapConfigCollection
	err := yaml.Unmarshal(data, &result)
	if err != nil {
		return nil, errors.Annotate(err, "cannot unmarshal bootstrap config")
	}
	return result.ControllerBootstrapConfig, nil
}
// ParseBootstrapConfig parses the given YAML bytes into bootstrap config
// metadata.
ParseBootstrapConfig parses the given YAML bytes into bootstrap config
metadata.
// ParseBootstrapConfig parses the given YAML bytes into bootstrap config // metadata .
func ParseBootstrapConfig(data []byte) (map[string]BootstrapConfig, error) {
	var result bootstrapConfigCollection
	err := yaml.Unmarshal(data, &result)
	if err != nil {
		return nil, errors.Annotate(err, "cannot unmarshal bootstrap config")
	}
	return result.ControllerBootstrapConfig, nil
}
func ParseBootstrapConfig ( data [ ] byte ) ( map [ string ] BootstrapConfig , error ) { var result bootstrapConfigCollection err := yaml . Unmarshal ( data , & result ) if err != nil { return nil , errors . Annotate ( err , " " ) } return result . ControllerBootstrapConfig , nil }
ParseBootstrapConfig parses the given YAML bytes into bootstrap config
metadata.
ParseBootstrapConfig parses the given YAML bytes into bootstrap config metadata .