MCPcopy Create free account
hub / github.com/algolia/cli / stubAPIKeyInspector

Struct stubAPIKeyInspector

pkg/cmd/profile/add/add_test.go:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108type stubAPIKeyInspector struct {
109 listErr error
110
111 getResp *search.GetApiKeyResponse
112 getErr error
113 getCalled bool
114}
115
116func (s *stubAPIKeyInspector) ListAPIKeys(opts ...search.RequestOption) (*search.ListApiKeysResponse, error) {
117 return &search.ListApiKeysResponse{}, s.listErr

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected