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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogWriterService

type LogWriterService struct {
	mock.Mock
}

LogWriterService is an autogenerated mock type for the LogWriterService type

func NewLogWriterService

func NewLogWriterService(t mockConstructorTestingTNewLogWriterService) *LogWriterService

NewLogWriterService creates a new instance of LogWriterService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*LogWriterService) InstallOrUpgrade

func (_m *LogWriterService) InstallOrUpgrade(projectName string, logWriter *model.LogWriter) (*model.LogWriter, error)

InstallOrUpgrade provides a mock function with given fields: projectName, logWriter

func (*LogWriterService) Uninstall

func (_m *LogWriterService) Uninstall(projectName string, logWriter *model.LogWriter) (*model.LogWriter, error)

Uninstall provides a mock function with given fields: projectName, logWriter

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) InstallOrUpgrade

func (_m *ObservationService) InstallOrUpgrade(projectName string, svc *model.ObservationService) (*model.ObservationService, error)

InstallOrUpgrade provides a mock function with given fields: projectName, svc

func (*ObservationService) Uninstall

func (_m *ObservationService) Uninstall(projectName string, svc *model.ObservationService) (*model.ObservationService, error)

Uninstall provides a mock function with given fields: projectName, svc

Jump to

Keyboard shortcuts

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