// expandResourceFields returns the key/value pairs for a resource that should
// be used as structured data in log messages about the resource
expandResourceFields returns the key/value pairs for a resource that should
be used as structured data in log messages about the resource
// expandResourceFields returns the key / value pairs for a resource that should // be used as structured data in log messages about the resource
func expandResourceFields(
	res acktypes.AWSResource,
	additionalValues ...interface{},
) []interface{} {
	metaObj := res.MetaObject()
	generation := metaObj.GetGeneration()
	vals := []interface{}{
		"generation", generation,
	}
	if len(additionalValues) > 0 {
		vals = append(vals, additionalValues...)
	}
	return vals
}
func expandResourceFields ( res acktypes . AWSResource , additionalValues ... interface { } , ) [ ] interface { } { metaObj := res . MetaObject ( ) generation := metaObj . GetGeneration ( ) vals := [ ] interface { } { " " , generation , } if len ( additionalValues ) > 0 { vals = append ( vals , additionalValues ... ) } return vals }
expandResourceFields returns the key/value pairs for a resource that should
be used as structured data in log messages about the resource
expandResourceFields returns the key / value pairs for a resource that should be used as structured data in log messages about the resource