mocks

package
v0.0.0-...-e5f8ed5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogWriter

type LogWriter struct {
	mock.Mock
}

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.

func (*LogWriter) Create

func (_m *LogWriter) Create(ctx context.Context, lw *model.LogWriter) (*model.LogWriter, error)

Create provides a mock function with given fields: ctx, lw

func (*LogWriter) Get

func (_m *LogWriter) Get(ctx context.Context, input storage.GetInput) (*model.LogWriter, error)

Get provides a mock function with given fields: ctx, input

func (*LogWriter) List

func (_m *LogWriter) List(ctx context.Context, listInput storage.ListInput) ([]*model.LogWriter, error)

List provides a mock function with given fields: ctx, listInput

func (*LogWriter) Update

func (_m *LogWriter) Update(ctx context.Context, lw *model.LogWriter) (*model.LogWriter, error)

Update provides a mock function with given fields: ctx, lw

type ObservationService

type ObservationService struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, lw

func (*ObservationService) Get

Get provides a mock function with given fields: ctx, input

func (*ObservationService) List

List provides a mock function with given fields: ctx, listInput

func (*ObservationService) Update

Update provides a mock function with given fields: ctx, lw

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL