@@ -82,10 +82,11 @@ func (m mockPluginsList) ListPlugins(context.Context, *connect.Request[resolverv
8282 pattern = plugin .Pattern .String ()
8383 }
8484 plugins = append (plugins , resolverv1.Plugin_builder {
85- Name : proto .String (name ),
86- Version : proto .String (version ),
87- Pattern : proto .String (pattern ),
88- External : proto .Bool (plugin .External ),
85+ Name : proto .String (name ),
86+ Version : proto .String (version ),
87+ Pattern : proto .String (pattern ),
88+ External : proto .Bool (plugin .External ),
89+ Configurable : proto .Bool (plugin .Configurable ),
8990 }.Build ())
9091 }
9192 return connect .NewResponse (resolverv1.ListPluginsResponse_builder {
@@ -138,12 +139,13 @@ func mockListPluginsEngine(t *testing.T, plugins []PluginInfo) string {
138139
139140func Test_ListPlugins (t * testing.T ) {
140141 t .Parallel ()
141- t .Run ("external and internal plugins" , func (t * testing.T ) {
142+ t .Run ("external and internal configurable plugins" , func (t * testing.T ) {
142143 plugins := []PluginInfo {
143144 {
144- Name : api .MustNewName ("foo" ),
145- Version : api .MustNewVersion ("v1" ),
146- Pattern : secrets .MustParsePattern ("**" ),
145+ Name : api .MustNewName ("foo" ),
146+ Version : api .MustNewVersion ("v1" ),
147+ Pattern : secrets .MustParsePattern ("**" ),
148+ Configurable : true ,
147149 },
148150 {
149151 Name : api .MustNewName ("bar" ),
0 commit comments