Versions in this module Expand all Collapse all v1 v1.0.0 Feb 23, 2022 Changes in this version + type MockNotifier struct + func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier + func (m *MockNotifier) Alert(ctx context.Context) error + func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder + func (m *MockNotifier) Name() string + func (m *MockNotifier) Resolve(ctx context.Context) error + type MockNotifierMockRecorder struct + func (mr *MockNotifierMockRecorder) Alert(ctx interface{}) *gomock.Call + func (mr *MockNotifierMockRecorder) Name() *gomock.Call + func (mr *MockNotifierMockRecorder) Resolve(ctx interface{}) *gomock.Call + type MockObserver struct + func NewMockObserver(ctrl *gomock.Controller) *MockObserver + func (m *MockObserver) EXPECT() *MockObserverMockRecorder + func (m *MockObserver) Observe(arg0 context.Context, arg1 chan<- icof.ObserverState) + type MockObserverMockRecorder struct + func (mr *MockObserverMockRecorder) Observe(arg0, arg1 interface{}) *gomock.Call + type MockStateRepository struct + func NewMockStateRepository(ctrl *gomock.Controller) *MockStateRepository + func (m *MockStateRepository) EXPECT() *MockStateRepositoryMockRecorder + func (m *MockStateRepository) GetLatest(ctx context.Context) (icof.ObserverState, error) + func (m *MockStateRepository) Save(ctx context.Context, state icof.ObserverState) error + type MockStateRepositoryMockRecorder struct + func (mr *MockStateRepositoryMockRecorder) GetLatest(ctx interface{}) *gomock.Call + func (mr *MockStateRepositoryMockRecorder) Save(ctx, state interface{}) *gomock.Call