@@ -36,6 +36,7 @@ func TestServerGetMetadata(t *testing.T) {
3636 DataSources : []fwserver.DataSourceMetadata {},
3737 EphemeralResources : []fwserver.EphemeralResourceMetadata {},
3838 Functions : []fwserver.FunctionMetadata {},
39+ ListResources : []fwserver.ListResourceMetadata {},
3940 Resources : []fwserver.ResourceMetadata {},
4041 ServerCapabilities : & fwserver.ServerCapabilities {
4142 GetProviderSchemaOptional : true ,
@@ -79,6 +80,7 @@ func TestServerGetMetadata(t *testing.T) {
7980 },
8081 EphemeralResources : []fwserver.EphemeralResourceMetadata {},
8182 Functions : []fwserver.FunctionMetadata {},
83+ ListResources : []fwserver.ListResourceMetadata {},
8284 Resources : []fwserver.ResourceMetadata {},
8385 ServerCapabilities : & fwserver.ServerCapabilities {
8486 GetProviderSchemaOptional : true ,
@@ -122,8 +124,9 @@ func TestServerGetMetadata(t *testing.T) {
122124 "This is always an issue with the provider and should be reported to the provider developers." ,
123125 ),
124126 },
125- Functions : []fwserver.FunctionMetadata {},
126- Resources : []fwserver.ResourceMetadata {},
127+ Functions : []fwserver.FunctionMetadata {},
128+ ListResources : []fwserver.ListResourceMetadata {},
129+ Resources : []fwserver.ResourceMetadata {},
127130 ServerCapabilities : & fwserver.ServerCapabilities {
128131 GetProviderSchemaOptional : true ,
129132 MoveResourceState : true ,
@@ -158,8 +161,9 @@ func TestServerGetMetadata(t *testing.T) {
158161 "This is always an issue with the provider and should be reported to the provider developers." ,
159162 ),
160163 },
161- Functions : []fwserver.FunctionMetadata {},
162- Resources : []fwserver.ResourceMetadata {},
164+ Functions : []fwserver.FunctionMetadata {},
165+ ListResources : []fwserver.ListResourceMetadata {},
166+ Resources : []fwserver.ResourceMetadata {},
163167 ServerCapabilities : & fwserver.ServerCapabilities {
164168 GetProviderSchemaOptional : true ,
165169 MoveResourceState : true ,
@@ -195,6 +199,7 @@ func TestServerGetMetadata(t *testing.T) {
195199 },
196200 EphemeralResources : []fwserver.EphemeralResourceMetadata {},
197201 Functions : []fwserver.FunctionMetadata {},
202+ ListResources : []fwserver.ListResourceMetadata {},
198203 Resources : []fwserver.ResourceMetadata {},
199204 ServerCapabilities : & fwserver.ServerCapabilities {
200205 GetProviderSchemaOptional : true ,
@@ -237,8 +242,9 @@ func TestServerGetMetadata(t *testing.T) {
237242 TypeName : "test_ephemeral_resource2" ,
238243 },
239244 },
240- Functions : []fwserver.FunctionMetadata {},
241- Resources : []fwserver.ResourceMetadata {},
245+ Functions : []fwserver.FunctionMetadata {},
246+ ListResources : []fwserver.ListResourceMetadata {},
247+ Resources : []fwserver.ResourceMetadata {},
242248 ServerCapabilities : & fwserver.ServerCapabilities {
243249 GetProviderSchemaOptional : true ,
244250 MoveResourceState : true ,
@@ -281,8 +287,9 @@ func TestServerGetMetadata(t *testing.T) {
281287 "This is always an issue with the provider and should be reported to the provider developers." ,
282288 ),
283289 },
284- Functions : []fwserver.FunctionMetadata {},
285- Resources : []fwserver.ResourceMetadata {},
290+ Functions : []fwserver.FunctionMetadata {},
291+ ListResources : []fwserver.ListResourceMetadata {},
292+ Resources : []fwserver.ResourceMetadata {},
286293 ServerCapabilities : & fwserver.ServerCapabilities {
287294 GetProviderSchemaOptional : true ,
288295 MoveResourceState : true ,
@@ -317,8 +324,9 @@ func TestServerGetMetadata(t *testing.T) {
317324 "This is always an issue with the provider and should be reported to the provider developers." ,
318325 ),
319326 },
320- Functions : []fwserver.FunctionMetadata {},
321- Resources : []fwserver.ResourceMetadata {},
327+ Functions : []fwserver.FunctionMetadata {},
328+ ListResources : []fwserver.ListResourceMetadata {},
329+ Resources : []fwserver.ResourceMetadata {},
322330 ServerCapabilities : & fwserver.ServerCapabilities {
323331 GetProviderSchemaOptional : true ,
324332 MoveResourceState : true ,
@@ -353,8 +361,9 @@ func TestServerGetMetadata(t *testing.T) {
353361 TypeName : "testprovidertype_ephemeral_resource" ,
354362 },
355363 },
356- Functions : []fwserver.FunctionMetadata {},
357- Resources : []fwserver.ResourceMetadata {},
364+ Functions : []fwserver.FunctionMetadata {},
365+ ListResources : []fwserver.ListResourceMetadata {},
366+ Resources : []fwserver.ResourceMetadata {},
358367 ServerCapabilities : & fwserver.ServerCapabilities {
359368 GetProviderSchemaOptional : true ,
360369 MoveResourceState : true ,
@@ -397,7 +406,8 @@ func TestServerGetMetadata(t *testing.T) {
397406 Name : "function2" ,
398407 },
399408 },
400- Resources : []fwserver.ResourceMetadata {},
409+ ListResources : []fwserver.ListResourceMetadata {},
410+ Resources : []fwserver.ResourceMetadata {},
401411 ServerCapabilities : & fwserver.ServerCapabilities {
402412 GetProviderSchemaOptional : true ,
403413 MoveResourceState : true ,
@@ -440,8 +450,9 @@ func TestServerGetMetadata(t *testing.T) {
440450 "This is always an issue with the provider and should be reported to the provider developers." ,
441451 ),
442452 },
443- Functions : []fwserver.FunctionMetadata {},
444- Resources : []fwserver.ResourceMetadata {},
453+ Functions : []fwserver.FunctionMetadata {},
454+ ListResources : []fwserver.ListResourceMetadata {},
455+ Resources : []fwserver.ResourceMetadata {},
445456 ServerCapabilities : & fwserver.ServerCapabilities {
446457 GetProviderSchemaOptional : true ,
447458 MoveResourceState : true ,
@@ -476,8 +487,9 @@ func TestServerGetMetadata(t *testing.T) {
476487 "This is always an issue with the provider and should be reported to the provider developers." ,
477488 ),
478489 },
479- Functions : []fwserver.FunctionMetadata {},
480- Resources : []fwserver.ResourceMetadata {},
490+ Functions : []fwserver.FunctionMetadata {},
491+ ListResources : []fwserver.ListResourceMetadata {},
492+ Resources : []fwserver.ResourceMetadata {},
481493 ServerCapabilities : & fwserver.ServerCapabilities {
482494 GetProviderSchemaOptional : true ,
483495 MoveResourceState : true ,
@@ -513,6 +525,7 @@ func TestServerGetMetadata(t *testing.T) {
513525 DataSources : []fwserver.DataSourceMetadata {},
514526 EphemeralResources : []fwserver.EphemeralResourceMetadata {},
515527 Functions : []fwserver.FunctionMetadata {},
528+ ListResources : []fwserver.ListResourceMetadata {},
516529 Resources : []fwserver.ResourceMetadata {
517530 {
518531 TypeName : "test_resource1" ,
@@ -563,8 +576,9 @@ func TestServerGetMetadata(t *testing.T) {
563576 "This is always an issue with the provider and should be reported to the provider developers." ,
564577 ),
565578 },
566- Functions : []fwserver.FunctionMetadata {},
567- Resources : []fwserver.ResourceMetadata {},
579+ Functions : []fwserver.FunctionMetadata {},
580+ ListResources : []fwserver.ListResourceMetadata {},
581+ Resources : []fwserver.ResourceMetadata {},
568582 ServerCapabilities : & fwserver.ServerCapabilities {
569583 GetProviderSchemaOptional : true ,
570584 MoveResourceState : true ,
@@ -599,8 +613,9 @@ func TestServerGetMetadata(t *testing.T) {
599613 "This is always an issue with the provider and should be reported to the provider developers." ,
600614 ),
601615 },
602- Functions : []fwserver.FunctionMetadata {},
603- Resources : []fwserver.ResourceMetadata {},
616+ Functions : []fwserver.FunctionMetadata {},
617+ ListResources : []fwserver.ListResourceMetadata {},
618+ Resources : []fwserver.ResourceMetadata {},
604619 ServerCapabilities : & fwserver.ServerCapabilities {
605620 GetProviderSchemaOptional : true ,
606621 MoveResourceState : true ,
@@ -632,6 +647,7 @@ func TestServerGetMetadata(t *testing.T) {
632647 DataSources : []fwserver.DataSourceMetadata {},
633648 EphemeralResources : []fwserver.EphemeralResourceMetadata {},
634649 Functions : []fwserver.FunctionMetadata {},
650+ ListResources : []fwserver.ListResourceMetadata {},
635651 Resources : []fwserver.ResourceMetadata {
636652 {
637653 TypeName : "testprovidertype_resource" ,
0 commit comments