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

Method GetAPIKey

pkg/cmd/profile/add/add.go:23–23  ·  view source on GitHub ↗
(r search.ApiGetApiKeyRequest, opts ...search.RequestOption)

Source from the content-addressed store, hash-verified

21type apiKeyInspector interface {
22 ListAPIKeys(opts ...search.RequestOption) (*search.ListApiKeysResponse, error)
23 GetAPIKey(r search.ApiGetApiKeyRequest, opts ...search.RequestOption) (*search.GetApiKeyResponse, error)
24 NewAPIGetAPIKeyRequest(key string) search.ApiGetApiKeyRequest
25}
26

Callers 6

CheckAuthFunction · 0.65
CheckACLsFunction · 0.65
searchClientFunction · 0.65
compositionClientFunction · 0.65
inspectAPIKeyFunction · 0.65
runTailCmdFunction · 0.65

Implementers 2

stubAPIKeyInspectorpkg/cmd/profile/add/add_test.go
searchClientAdapterpkg/cmd/profile/add/add.go

Calls

no outgoing calls

Tested by

no test coverage detected