MCPcopy Create free account
hub / github.com/docker/secrets-engine / mockPluginsList

Struct mockPluginsList

client/client_test.go:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63var _ pluginsv1connect.PluginManagementServiceHandler = &mockPluginsList{}
64
65type mockPluginsList struct {
66 list []PluginInfo
67}
68
69func (m mockPluginsList) ListPlugins(_ context.Context, _ *connect.Request[pluginsv1.ListPluginsRequest]) (*connect.Response[pluginsv1.ListPluginsResponse], error) {
70 var plugins []*pluginsv1.Plugin

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected