Documentation ¶
Index ¶
- type LogWriter
- func (_m *LogWriter) Create(ctx context.Context, lw *model.LogWriter) (*model.LogWriter, error)
- func (_m *LogWriter) Get(ctx context.Context, input storage.GetInput) (*model.LogWriter, error)
- func (_m *LogWriter) List(ctx context.Context, listInput storage.ListInput) ([]*model.LogWriter, error)
- func (_m *LogWriter) Update(ctx context.Context, lw *model.LogWriter) (*model.LogWriter, error)
- type ObservationService
- func (_m *ObservationService) Create(ctx context.Context, lw *model.ObservationService) (*model.ObservationService, error)
- func (_m *ObservationService) Get(ctx context.Context, input storage.GetInput) (*model.ObservationService, error)
- func (_m *ObservationService) List(ctx context.Context, listInput storage.ListInput) ([]*model.ObservationService, error)
- func (_m *ObservationService) Update(ctx context.Context, lw *model.ObservationService) (*model.ObservationService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogWriter ¶
LogWriter is an autogenerated mock type for the LogWriter type
func NewLogWriter ¶
func NewLogWriter(t mockConstructorTestingTNewLogWriter) *LogWriter
NewLogWriter creates a new instance of LogWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ObservationService ¶
ObservationService is an autogenerated mock type for the ObservationService type
func NewObservationService ¶
func NewObservationService(t mockConstructorTestingTNewObservationService) *ObservationService
NewObservationService creates a new instance of ObservationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ObservationService) Create ¶
func (_m *ObservationService) Create(ctx context.Context, lw *model.ObservationService) (*model.ObservationService, error)
Create provides a mock function with given fields: ctx, lw
func (*ObservationService) Get ¶
func (_m *ObservationService) Get(ctx context.Context, input storage.GetInput) (*model.ObservationService, error)
Get provides a mock function with given fields: ctx, input
func (*ObservationService) List ¶
func (_m *ObservationService) List(ctx context.Context, listInput storage.ListInput) ([]*model.ObservationService, error)
List provides a mock function with given fields: ctx, listInput
func (*ObservationService) Update ¶
func (_m *ObservationService) Update(ctx context.Context, lw *model.ObservationService) (*model.ObservationService, error)
Update provides a mock function with given fields: ctx, lw