func (command *commandUpdateMetadata) PreCSV(resource *handler.Resource) { resource.Result = map[string]interface{}{ "Metadata": resource.Result, } resource.Keys = []string{"Metadata"} resource.FlattenMap("Metadata") }
func (command *commandGetSchema) PreCSV(resource *handler.Resource) error { resource.Result = structs.Map(resource.Result) resource.FlattenMap("Attributes") resource.FlattenMap("Properties") resource.FlattenMap("SupportStatus") return nil }
func (command *commandSetMetadata) PreCSV(resource *handler.Resource) error { resource.Result = map[string]interface{}{ "Metadata": resource.Result, } resource.Keys = []string{"Metadata"} resource.FlattenMap("Metadata") return nil }
func (command *commandUpdate) PreCSV(resource *handler.Resource) error { resource.Result = stackSingle(resource.Result) resource.FlattenMap("Parameters") resource.FlattenMap("Outputs") resource.FlattenMap("Links") resource.FlattenMap("NotificationTopics") resource.FlattenMap("Capabilities") return nil }
func (command *commandAbandon) PreCSV(resource *handler.Resource) error { resource.Result = structs.Map(resource.Result) resource.FlattenMap("Template") resource.FlattenMap("Files") resource.FlattenMap("Environment") resource.FlattenMap("Resources") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) error { resource.Result = resourceSingle(resource.Result) resource.FlattenMap("Attributes") resource.FlattenMap("Links") resource.FlattenMap("RequiredBy") return nil }
func (command *commandCreate) PreCSV(resource *handler.Resource) error { resource.FlattenMap("Metadata") resource.FlattenMap("Attachments") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) { resource.FlattenMap("AllocationPools") }
func (command *commandGet) PreCSV(resource *handler.Resource) error { resource.FlattenMap("Metadata") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) { resource.FlattenMap("ExtraSpecs") }
func (command *commandCreate) PreCSV(resource *handler.Resource) error { resource.FlattenMap("AllocationPools") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) { resource.FlattenMap("FixedIPs") }
func (command *commandUpdate) PreCSV(resource *handler.Resource) error { resource.FlattenMap("FixedIPs") return nil }
func (command *commandValidate) PreCSV(resource *handler.Resource) error { resource.FlattenMap("Parameters") resource.FlattenMap("ParameterGroups") return nil }
func (command *commandCreate) PreCSV(resource *handler.Resource) error { resource.Result = stackSingle(resource.Result) resource.FlattenMap("Links") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) { resource.FlattenMap("Metadata") }
func (command *commandAdopt) PreCSV(resource *handler.Resource) error { resource.FlattenMap("Links") return nil }
func (command *commandGet) PreCSV(resource *handler.Resource) error { resource.Result = eventSingle(resource.Result) resource.FlattenMap("Links") resource.FlattenMap("ResourceProperties") return nil }