Documentation ¶
Index ¶
- func Keycloak(ctx context.Context, wg *sync.WaitGroup) (url string)
- type CamundaMock
- func (this *CamundaMock) AddFileToQueue(location string) error
- func (this *CamundaMock) AddToQueue(fetchResult []model.CamundaExternalTask)
- func (this *CamundaMock) Fetch() (result []model.CamundaExternalTask)
- func (this *CamundaMock) PopRequestLog() []Request
- func (this *CamundaMock) Start(ctx context.Context, wg *sync.WaitGroup) (url string)
- type Request
- type Response
- type SmartServiceRepoMock
- func (this *SmartServiceRepoMock) CheckExpectedRequests(expectedRequests []Request) error
- func (this *SmartServiceRepoMock) CheckExpectedRequestsFromFileLocation(fileLocation string) error
- func (this *SmartServiceRepoMock) GetRequestLog() []Request
- func (this *SmartServiceRepoMock) PopRequestLog() []Request
- func (this *SmartServiceRepoMock) Start(ctx context.Context, wg *sync.WaitGroup) (url string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CamundaMock ¶
type CamundaMock struct { Queue chan []model.CamundaExternalTask // contains filtered or unexported fields }
func NewCamundaMock ¶
func NewCamundaMock() *CamundaMock
func (*CamundaMock) AddFileToQueue ¶
func (this *CamundaMock) AddFileToQueue(location string) error
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
type SmartServiceRepoMock ¶
type SmartServiceRepoMock struct {
// contains filtered or unexported fields
}
func NewSmartServiceRepoMock ¶
func NewSmartServiceRepoMock(libConfig configuration.Config, config pkg.Config, moduleListResponse []byte) *SmartServiceRepoMock
func (*SmartServiceRepoMock) CheckExpectedRequests ¶
func (this *SmartServiceRepoMock) CheckExpectedRequests(expectedRequests []Request) error
func (*SmartServiceRepoMock) CheckExpectedRequestsFromFileLocation ¶
func (this *SmartServiceRepoMock) CheckExpectedRequestsFromFileLocation(fileLocation string) error
func (*SmartServiceRepoMock) GetRequestLog ¶
func (this *SmartServiceRepoMock) GetRequestLog() []Request
func (*SmartServiceRepoMock) PopRequestLog ¶
func (this *SmartServiceRepoMock) PopRequestLog() []Request
Click to show internal directories.
Click to hide internal directories.