Documentation ¶
Overview ¶
Package service_mock is a generated GoMock package.
Index ¶
- type MockFlag
- func (m *MockFlag) EXPECT() *MockFlagMockRecorder
- func (m *MockFlag) Evaluate(arg0 context.Context, arg1 string, arg2 *service.EvaluationRequest) (*service.EvaluationResponse, error)
- func (m *MockFlag) EvaluateAll(arg0 context.Context, arg1 *service.EvaluationRequest) (*service.EvaluationsResponse, error)
- type MockFlagMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlag ¶
type MockFlag struct {
// contains filtered or unexported fields
}
MockFlag is a mock of Flag interface
func NewMockFlag ¶
func NewMockFlag(ctrl *gomock.Controller) *MockFlag
NewMockFlag creates a new mock instance
func (*MockFlag) EXPECT ¶
func (m *MockFlag) EXPECT() *MockFlagMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFlag) Evaluate ¶
func (m *MockFlag) Evaluate(arg0 context.Context, arg1 string, arg2 *service.EvaluationRequest) (*service.EvaluationResponse, error)
Evaluate mocks base method
func (*MockFlag) EvaluateAll ¶
func (m *MockFlag) EvaluateAll(arg0 context.Context, arg1 *service.EvaluationRequest) (*service.EvaluationsResponse, error)
EvaluateAll mocks base method
type MockFlagMockRecorder ¶
type MockFlagMockRecorder struct {
// contains filtered or unexported fields
}
MockFlagMockRecorder is the mock recorder for MockFlag
func (*MockFlagMockRecorder) Evaluate ¶
func (mr *MockFlagMockRecorder) Evaluate(arg0, arg1, arg2 interface{}) *gomock.Call
Evaluate indicates an expected call of Evaluate
func (*MockFlagMockRecorder) EvaluateAll ¶
func (mr *MockFlagMockRecorder) EvaluateAll(arg0, arg1 interface{}) *gomock.Call
EvaluateAll indicates an expected call of EvaluateAll
Click to show internal directories.
Click to hide internal directories.