Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeHfAPI
- func (fake *FakeHfAPI) Invocations() map[string][][]interface{}
- func (fake *FakeHfAPI) WhoAmI(arg1 context.Context, arg2 string) (*huggingface.HfAPIWhoAmIResponse, error)
- func (fake *FakeHfAPI) WhoAmIArgsForCall(i int) (context.Context, string)
- func (fake *FakeHfAPI) WhoAmICallCount() int
- func (fake *FakeHfAPI) WhoAmICalls(stub func(context.Context, string) (*huggingface.HfAPIWhoAmIResponse, error))
- func (fake *FakeHfAPI) WhoAmIReturns(result1 *huggingface.HfAPIWhoAmIResponse, result2 error)
- func (fake *FakeHfAPI) WhoAmIReturnsOnCall(i int, result1 *huggingface.HfAPIWhoAmIResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHfAPI ¶
type FakeHfAPI struct {
WhoAmIStub func(context.Context, string) (*huggingface.HfAPIWhoAmIResponse, error)
// contains filtered or unexported fields
}
func (*FakeHfAPI) Invocations ¶
func (*FakeHfAPI) WhoAmI ¶
func (fake *FakeHfAPI) WhoAmI(arg1 context.Context, arg2 string) (*huggingface.HfAPIWhoAmIResponse, error)
func (*FakeHfAPI) WhoAmIArgsForCall ¶
func (*FakeHfAPI) WhoAmICallCount ¶
func (*FakeHfAPI) WhoAmICalls ¶
func (fake *FakeHfAPI) WhoAmICalls(stub func(context.Context, string) (*huggingface.HfAPIWhoAmIResponse, error))
func (*FakeHfAPI) WhoAmIReturns ¶
func (fake *FakeHfAPI) WhoAmIReturns(result1 *huggingface.HfAPIWhoAmIResponse, result2 error)
func (*FakeHfAPI) WhoAmIReturnsOnCall ¶
func (fake *FakeHfAPI) WhoAmIReturnsOnCall(i int, result1 *huggingface.HfAPIWhoAmIResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.