MCPcopy
hub / github.com/digitalocean/doctl / CreateOpenAIAPIKey

Method CreateOpenAIAPIKey

do/mocks/GradientAIService.go:165–171  ·  view source on GitHub ↗

CreateOpenAIAPIKey mocks base method.

(openaiAPIKeyCreate *godo.OpenAIAPIKeyCreateRequest)

Source from the content-addressed store, hash-verified

163
164// CreateOpenAIAPIKey mocks base method.
165func (m *MockGradientAIService) CreateOpenAIAPIKey(openaiAPIKeyCreate *godo.OpenAIAPIKeyCreateRequest) (*do.OpenAiApiKey, error) {
166 m.ctrl.T.Helper()
167 ret := m.ctrl.Call(m, "CreateOpenAIAPIKey", openaiAPIKeyCreate)
168 ret0, _ := ret[0].(*do.OpenAiApiKey)
169 ret1, _ := ret[1].(error)
170 return ret0, ret1
171}
172
173// CreateOpenAIAPIKey indicates an expected call of CreateOpenAIAPIKey.
174func (mr *MockGradientAIServiceMockRecorder) CreateOpenAIAPIKey(openaiAPIKeyCreate any) *gomock.Call {

Callers

nothing calls this directly

Calls 1

CallMethod · 0.80

Tested by

no test coverage detected