Documentation
¶
Overview ¶
Package adk is a generated GoMock package.
Index ¶
- type MockAgent
- type MockAgentMockRecorder
- type MockOnSubAgents
- func (m *MockOnSubAgents) EXPECT() *MockOnSubAgentsMockRecorder
- func (m *MockOnSubAgents) OnDisallowTransferToParent(ctx context.Context) error
- func (m *MockOnSubAgents) OnSetAsSubAgent(ctx context.Context, parent adk.Agent) error
- func (m *MockOnSubAgents) OnSetSubAgents(ctx context.Context, subAgents []adk.Agent) error
- type MockOnSubAgentsMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgent ¶
type MockAgent struct {
// contains filtered or unexported fields
}
MockAgent is a mock of Agent interface.
func NewMockAgent ¶
func NewMockAgent(ctrl *gomock.Controller) *MockAgent
NewMockAgent creates a new mock instance.
func (*MockAgent) Description ¶
Description mocks base method.
func (*MockAgent) EXPECT ¶
func (m *MockAgent) EXPECT() *MockAgentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgent) Run ¶
func (m *MockAgent) Run(ctx context.Context, input *adk.AgentInput, options ...adk.AgentRunOption) *adk.AsyncIterator[*adk.AgentEvent]
Run mocks base method.
type MockAgentMockRecorder ¶
type MockAgentMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentMockRecorder is the mock recorder for MockAgent.
func (*MockAgentMockRecorder) Description ¶
func (mr *MockAgentMockRecorder) Description(ctx any) *gomock.Call
Description indicates an expected call of Description.
type MockOnSubAgents ¶
type MockOnSubAgents struct {
// contains filtered or unexported fields
}
MockOnSubAgents is a mock of OnSubAgents interface.
func NewMockOnSubAgents ¶
func NewMockOnSubAgents(ctrl *gomock.Controller) *MockOnSubAgents
NewMockOnSubAgents creates a new mock instance.
func (*MockOnSubAgents) EXPECT ¶
func (m *MockOnSubAgents) EXPECT() *MockOnSubAgentsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOnSubAgents) OnDisallowTransferToParent ¶
func (m *MockOnSubAgents) OnDisallowTransferToParent(ctx context.Context) error
OnDisallowTransferToParent mocks base method.
func (*MockOnSubAgents) OnSetAsSubAgent ¶
OnSetAsSubAgent mocks base method.
func (*MockOnSubAgents) OnSetSubAgents ¶
OnSetSubAgents mocks base method.
type MockOnSubAgentsMockRecorder ¶
type MockOnSubAgentsMockRecorder struct {
// contains filtered or unexported fields
}
MockOnSubAgentsMockRecorder is the mock recorder for MockOnSubAgents.
func (*MockOnSubAgentsMockRecorder) OnDisallowTransferToParent ¶
func (mr *MockOnSubAgentsMockRecorder) OnDisallowTransferToParent(ctx any) *gomock.Call
OnDisallowTransferToParent indicates an expected call of OnDisallowTransferToParent.
func (*MockOnSubAgentsMockRecorder) OnSetAsSubAgent ¶
func (mr *MockOnSubAgentsMockRecorder) OnSetAsSubAgent(ctx, parent any) *gomock.Call
OnSetAsSubAgent indicates an expected call of OnSetAsSubAgent.
func (*MockOnSubAgentsMockRecorder) OnSetSubAgents ¶
func (mr *MockOnSubAgentsMockRecorder) OnSetSubAgents(ctx, subAgents any) *gomock.Call
OnSetSubAgents indicates an expected call of OnSetSubAgents.