示例#1
0
func (command *commandGetMetadata) PreCSV(resource *handler.Resource) {
	resource.Result = map[string]interface{}{
		"Metadata": resource.Result,
	}
	resource.Keys = []string{"Metadata"}
	resource.FlattenMap("Metadata")
}
示例#2
0
文件: get.go 项目: harshalhshah/rack
func (command *commandGet) PreCSV(resource *handler.Resource) {
	resource.FlattenMap("Metadata")
}
示例#3
0
文件: get.go 项目: harshalhshah/rack
func (command *commandGet) PreCSV(resource *handler.Resource) {
	resource.FlattenMap("ExtraSpecs")
}