Documentation ¶
Overview ¶
Package mock_toggle is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCircuitBreaker ¶
type MockCircuitBreaker struct {
// contains filtered or unexported fields
}
MockCircuitBreaker is a mock of CircuitBreaker interface.
func NewMockCircuitBreaker ¶
func NewMockCircuitBreaker(ctrl *gomock.Controller) *MockCircuitBreaker
NewMockCircuitBreaker creates a new mock instance.
func (*MockCircuitBreaker) EXPECT ¶
func (m *MockCircuitBreaker) EXPECT() *MockCircuitBreakerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCircuitBreaker) Execute ¶
func (m *MockCircuitBreaker) Execute(arg0 func() (interface{}, error)) (interface{}, error)
Execute mocks base method.
type MockCircuitBreakerMockRecorder ¶
type MockCircuitBreakerMockRecorder struct {
// contains filtered or unexported fields
}
MockCircuitBreakerMockRecorder is the mock recorder for MockCircuitBreaker.
func (*MockCircuitBreakerMockRecorder) Execute ¶
func (mr *MockCircuitBreakerMockRecorder) Execute(arg0 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
type MockSubscriber ¶
type MockSubscriber struct {
// contains filtered or unexported fields
}
MockSubscriber is a mock of Subscriber interface.
func NewMockSubscriber ¶
func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber
NewMockSubscriber creates a new mock instance.
func (*MockSubscriber) EXPECT ¶
func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubscriber) Subscribe ¶
func (m *MockSubscriber) Subscribe(ctx context.Context, fn func(*togglev1.ToggleEvent) error) error
Subscribe mocks base method.
type MockSubscriberMockRecorder ¶
type MockSubscriberMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscriberMockRecorder is the mock recorder for MockSubscriber.
func (*MockSubscriberMockRecorder) Subscribe ¶
func (mr *MockSubscriberMockRecorder) Subscribe(ctx, fn interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.