mocks

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keycloak

func Keycloak(ctx context.Context, wg *sync.WaitGroup) (url string)

Types

type CamundaMock

type CamundaMock struct {
	Queue chan []model.CamundaExternalTask
	// contains filtered or unexported fields
}

func NewCamundaMock

func NewCamundaMock() *CamundaMock

func (*CamundaMock) AddToQueue

func (this *CamundaMock) AddToQueue(fetchResult []model.CamundaExternalTask)

func (*CamundaMock) Fetch

func (this *CamundaMock) Fetch() (result []model.CamundaExternalTask)

func (*CamundaMock) PopRequestLog

func (this *CamundaMock) PopRequestLog() []Request

func (*CamundaMock) Start

func (this *CamundaMock) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

type DeviceRepo

type DeviceRepo struct {
	Response       []devices.DeviceTypeSelectable
	SecondResponse []devices.DeviceTypeSelectable
	// contains filtered or unexported fields
}

func (*DeviceRepo) PopRequestLog

func (this *DeviceRepo) PopRequestLog() []Request

func (*DeviceRepo) SetDeviceTypeSelectablesResponse added in v0.0.14

func (this *DeviceRepo) SetDeviceTypeSelectablesResponse(value []devices.DeviceTypeSelectable)

func (*DeviceRepo) SetLegacyPermissionsResponses added in v0.0.14

func (this *DeviceRepo) SetLegacyPermissionsResponses(responses map[string][]map[string]interface{})

func (*DeviceRepo) SetSecondResponse

func (this *DeviceRepo) SetSecondResponse(value []devices.DeviceTypeSelectable)

func (*DeviceRepo) Start

func (this *DeviceRepo) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

type FlowEngine

type FlowEngine struct {
	// contains filtered or unexported fields
}

func (*FlowEngine) PopRequestLog

func (this *FlowEngine) PopRequestLog() []Request

func (*FlowEngine) Start

func (this *FlowEngine) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

type FlowParser

type FlowParser struct {
	Response []analytics.FlowModelCell
	// contains filtered or unexported fields
}

func (*FlowParser) PopRequestLog

func (this *FlowParser) PopRequestLog() []Request

func (*FlowParser) SetResponse

func (this *FlowParser) SetResponse(value []analytics.FlowModelCell)

func (*FlowParser) Start

func (this *FlowParser) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

type Import

type Import struct {
	// contains filtered or unexported fields
}

func (*Import) PopRequestLog

func (this *Import) PopRequestLog() []Request

func (*Import) Start

func (this *Import) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

type Request

type Request struct {
	Method   string `json:"method"`
	Endpoint string `json:"endpoint"`
	Message  string `json:"message"`
}

type SmartServiceRepoMock

type SmartServiceRepoMock struct {
	// contains filtered or unexported fields
}

func NewSmartServiceRepoMock

func NewSmartServiceRepoMock(libConfig configuration.Config, config analytics.Config) *SmartServiceRepoMock

func (*SmartServiceRepoMock) PopRequestLog

func (this *SmartServiceRepoMock) PopRequestLog() []Request

func (*SmartServiceRepoMock) SetListResponse

func (this *SmartServiceRepoMock) SetListResponse(response []byte)

func (*SmartServiceRepoMock) Start

func (this *SmartServiceRepoMock) Start(ctx context.Context, wg *sync.WaitGroup) (url string)

Jump to

Keyboard shortcuts

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