Documentation ¶
Overview ¶
Package bedrockruntimemock is a generated GoMock package.
Index ¶
- type MockBedrockRuntimeAPI
- func (m *MockBedrockRuntimeAPI) ApplyGuardrail(arg0 *bedrockruntime.ApplyGuardrailInput) (*bedrockruntime.ApplyGuardrailOutput, error)
- func (m *MockBedrockRuntimeAPI) ApplyGuardrailRequest(arg0 *bedrockruntime.ApplyGuardrailInput) (*request.Request, *bedrockruntime.ApplyGuardrailOutput)
- func (m *MockBedrockRuntimeAPI) ApplyGuardrailWithContext(arg0 context.Context, arg1 *bedrockruntime.ApplyGuardrailInput, ...) (*bedrockruntime.ApplyGuardrailOutput, error)
- func (m *MockBedrockRuntimeAPI) Converse(arg0 *bedrockruntime.ConverseInput) (*bedrockruntime.ConverseOutput, error)
- func (m *MockBedrockRuntimeAPI) ConverseRequest(arg0 *bedrockruntime.ConverseInput) (*request.Request, *bedrockruntime.ConverseOutput)
- func (m *MockBedrockRuntimeAPI) ConverseStream(arg0 *bedrockruntime.ConverseStreamInput) (*bedrockruntime.ConverseStreamOutput, error)
- func (m *MockBedrockRuntimeAPI) ConverseStreamRequest(arg0 *bedrockruntime.ConverseStreamInput) (*request.Request, *bedrockruntime.ConverseStreamOutput)
- func (m *MockBedrockRuntimeAPI) ConverseStreamWithContext(arg0 context.Context, arg1 *bedrockruntime.ConverseStreamInput, ...) (*bedrockruntime.ConverseStreamOutput, error)
- func (m *MockBedrockRuntimeAPI) ConverseWithContext(arg0 context.Context, arg1 *bedrockruntime.ConverseInput, ...) (*bedrockruntime.ConverseOutput, error)
- func (m *MockBedrockRuntimeAPI) EXPECT() *MockBedrockRuntimeAPIMockRecorder
- func (m *MockBedrockRuntimeAPI) InvokeModel(arg0 *bedrockruntime.InvokeModelInput) (*bedrockruntime.InvokeModelOutput, error)
- func (m *MockBedrockRuntimeAPI) InvokeModelRequest(arg0 *bedrockruntime.InvokeModelInput) (*request.Request, *bedrockruntime.InvokeModelOutput)
- func (m *MockBedrockRuntimeAPI) InvokeModelWithContext(arg0 context.Context, arg1 *bedrockruntime.InvokeModelInput, ...) (*bedrockruntime.InvokeModelOutput, error)
- func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStream(arg0 *bedrockruntime.InvokeModelWithResponseStreamInput) (*bedrockruntime.InvokeModelWithResponseStreamOutput, error)
- func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStreamRequest(arg0 *bedrockruntime.InvokeModelWithResponseStreamInput) (*request.Request, *bedrockruntime.InvokeModelWithResponseStreamOutput)
- func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStreamWithContext(arg0 context.Context, arg1 *bedrockruntime.InvokeModelWithResponseStreamInput, ...) (*bedrockruntime.InvokeModelWithResponseStreamOutput, error)
- type MockBedrockRuntimeAPIMockRecorder
- func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrail(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailRequest(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) Converse(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseRequest(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStream(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStreamRequest(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStreamWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModel(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelRequest(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStream(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamRequest(arg0 interface{}) *gomock.Call
- func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBedrockRuntimeAPI ¶
type MockBedrockRuntimeAPI struct {
// contains filtered or unexported fields
}
MockBedrockRuntimeAPI is a mock of BedrockRuntimeAPI interface
func NewMockBedrockRuntimeAPI ¶
func NewMockBedrockRuntimeAPI(ctrl *gomock.Controller) *MockBedrockRuntimeAPI
NewMockBedrockRuntimeAPI creates a new mock instance
func (*MockBedrockRuntimeAPI) ApplyGuardrail ¶ added in v1.54.18
func (m *MockBedrockRuntimeAPI) ApplyGuardrail(arg0 *bedrockruntime.ApplyGuardrailInput) (*bedrockruntime.ApplyGuardrailOutput, error)
ApplyGuardrail mocks base method
func (*MockBedrockRuntimeAPI) ApplyGuardrailRequest ¶ added in v1.54.18
func (m *MockBedrockRuntimeAPI) ApplyGuardrailRequest(arg0 *bedrockruntime.ApplyGuardrailInput) (*request.Request, *bedrockruntime.ApplyGuardrailOutput)
ApplyGuardrailRequest mocks base method
func (*MockBedrockRuntimeAPI) ApplyGuardrailWithContext ¶ added in v1.54.18
func (m *MockBedrockRuntimeAPI) ApplyGuardrailWithContext(arg0 context.Context, arg1 *bedrockruntime.ApplyGuardrailInput, arg2 ...request.Option) (*bedrockruntime.ApplyGuardrailOutput, error)
ApplyGuardrailWithContext mocks base method
func (*MockBedrockRuntimeAPI) Converse ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) Converse(arg0 *bedrockruntime.ConverseInput) (*bedrockruntime.ConverseOutput, error)
Converse mocks base method
func (*MockBedrockRuntimeAPI) ConverseRequest ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) ConverseRequest(arg0 *bedrockruntime.ConverseInput) (*request.Request, *bedrockruntime.ConverseOutput)
ConverseRequest mocks base method
func (*MockBedrockRuntimeAPI) ConverseStream ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) ConverseStream(arg0 *bedrockruntime.ConverseStreamInput) (*bedrockruntime.ConverseStreamOutput, error)
ConverseStream mocks base method
func (*MockBedrockRuntimeAPI) ConverseStreamRequest ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) ConverseStreamRequest(arg0 *bedrockruntime.ConverseStreamInput) (*request.Request, *bedrockruntime.ConverseStreamOutput)
ConverseStreamRequest mocks base method
func (*MockBedrockRuntimeAPI) ConverseStreamWithContext ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) ConverseStreamWithContext(arg0 context.Context, arg1 *bedrockruntime.ConverseStreamInput, arg2 ...request.Option) (*bedrockruntime.ConverseStreamOutput, error)
ConverseStreamWithContext mocks base method
func (*MockBedrockRuntimeAPI) ConverseWithContext ¶ added in v1.54.2
func (m *MockBedrockRuntimeAPI) ConverseWithContext(arg0 context.Context, arg1 *bedrockruntime.ConverseInput, arg2 ...request.Option) (*bedrockruntime.ConverseOutput, error)
ConverseWithContext mocks base method
func (*MockBedrockRuntimeAPI) EXPECT ¶
func (m *MockBedrockRuntimeAPI) EXPECT() *MockBedrockRuntimeAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBedrockRuntimeAPI) InvokeModel ¶
func (m *MockBedrockRuntimeAPI) InvokeModel(arg0 *bedrockruntime.InvokeModelInput) (*bedrockruntime.InvokeModelOutput, error)
InvokeModel mocks base method
func (*MockBedrockRuntimeAPI) InvokeModelRequest ¶
func (m *MockBedrockRuntimeAPI) InvokeModelRequest(arg0 *bedrockruntime.InvokeModelInput) (*request.Request, *bedrockruntime.InvokeModelOutput)
InvokeModelRequest mocks base method
func (*MockBedrockRuntimeAPI) InvokeModelWithContext ¶
func (m *MockBedrockRuntimeAPI) InvokeModelWithContext(arg0 context.Context, arg1 *bedrockruntime.InvokeModelInput, arg2 ...request.Option) (*bedrockruntime.InvokeModelOutput, error)
InvokeModelWithContext mocks base method
func (*MockBedrockRuntimeAPI) InvokeModelWithResponseStream ¶
func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStream(arg0 *bedrockruntime.InvokeModelWithResponseStreamInput) (*bedrockruntime.InvokeModelWithResponseStreamOutput, error)
InvokeModelWithResponseStream mocks base method
func (*MockBedrockRuntimeAPI) InvokeModelWithResponseStreamRequest ¶
func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStreamRequest(arg0 *bedrockruntime.InvokeModelWithResponseStreamInput) (*request.Request, *bedrockruntime.InvokeModelWithResponseStreamOutput)
InvokeModelWithResponseStreamRequest mocks base method
func (*MockBedrockRuntimeAPI) InvokeModelWithResponseStreamWithContext ¶
func (m *MockBedrockRuntimeAPI) InvokeModelWithResponseStreamWithContext(arg0 context.Context, arg1 *bedrockruntime.InvokeModelWithResponseStreamInput, arg2 ...request.Option) (*bedrockruntime.InvokeModelWithResponseStreamOutput, error)
InvokeModelWithResponseStreamWithContext mocks base method
type MockBedrockRuntimeAPIMockRecorder ¶
type MockBedrockRuntimeAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBedrockRuntimeAPIMockRecorder is the mock recorder for MockBedrockRuntimeAPI
func (*MockBedrockRuntimeAPIMockRecorder) ApplyGuardrail ¶ added in v1.54.18
func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrail(arg0 interface{}) *gomock.Call
ApplyGuardrail indicates an expected call of ApplyGuardrail
func (*MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailRequest ¶ added in v1.54.18
func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailRequest(arg0 interface{}) *gomock.Call
ApplyGuardrailRequest indicates an expected call of ApplyGuardrailRequest
func (*MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailWithContext ¶ added in v1.54.18
func (mr *MockBedrockRuntimeAPIMockRecorder) ApplyGuardrailWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ApplyGuardrailWithContext indicates an expected call of ApplyGuardrailWithContext
func (*MockBedrockRuntimeAPIMockRecorder) Converse ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) Converse(arg0 interface{}) *gomock.Call
Converse indicates an expected call of Converse
func (*MockBedrockRuntimeAPIMockRecorder) ConverseRequest ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseRequest(arg0 interface{}) *gomock.Call
ConverseRequest indicates an expected call of ConverseRequest
func (*MockBedrockRuntimeAPIMockRecorder) ConverseStream ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStream(arg0 interface{}) *gomock.Call
ConverseStream indicates an expected call of ConverseStream
func (*MockBedrockRuntimeAPIMockRecorder) ConverseStreamRequest ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStreamRequest(arg0 interface{}) *gomock.Call
ConverseStreamRequest indicates an expected call of ConverseStreamRequest
func (*MockBedrockRuntimeAPIMockRecorder) ConverseStreamWithContext ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseStreamWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ConverseStreamWithContext indicates an expected call of ConverseStreamWithContext
func (*MockBedrockRuntimeAPIMockRecorder) ConverseWithContext ¶ added in v1.54.2
func (mr *MockBedrockRuntimeAPIMockRecorder) ConverseWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ConverseWithContext indicates an expected call of ConverseWithContext
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModel ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModel(arg0 interface{}) *gomock.Call
InvokeModel indicates an expected call of InvokeModel
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModelRequest ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelRequest(arg0 interface{}) *gomock.Call
InvokeModelRequest indicates an expected call of InvokeModelRequest
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModelWithContext ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InvokeModelWithContext indicates an expected call of InvokeModelWithContext
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStream ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStream(arg0 interface{}) *gomock.Call
InvokeModelWithResponseStream indicates an expected call of InvokeModelWithResponseStream
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamRequest ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamRequest(arg0 interface{}) *gomock.Call
InvokeModelWithResponseStreamRequest indicates an expected call of InvokeModelWithResponseStreamRequest
func (*MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamWithContext ¶
func (mr *MockBedrockRuntimeAPIMockRecorder) InvokeModelWithResponseStreamWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InvokeModelWithResponseStreamWithContext indicates an expected call of InvokeModelWithResponseStreamWithContext