mocks

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CamundaMock

type CamundaMock struct {
	CompleteRequests   map[string][]interface{}
	StopRequests       map[string][]interface{}
	UnexpectedRequests map[string][]interface{}
	Server             *httptest.Server
	// contains filtered or unexported fields
}

func NewCamundaMock

func NewCamundaMock(ctx context.Context, fetchResponses []interface{}) (mock *CamundaMock)

func (*CamundaMock) Start

func (this *CamundaMock) Start(ctx context.Context)

type Repo

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

func NewFallbackFile

func NewFallbackFile(ctx context.Context, wg *sync.WaitGroup) (repo *Repo, filename string, err error)

func (*Repo) RegisterAspectNode

func (this *Repo) RegisterAspectNode(aspect model.AspectNode) (err error)

func (*Repo) RegisterCharacteristic

func (this *Repo) RegisterCharacteristic(characteristic model.Characteristic) (err error)

func (*Repo) RegisterConcept

func (this *Repo) RegisterConcept(concept model.Concept) (err error)

func (*Repo) RegisterConceptIds

func (this *Repo) RegisterConceptIds(ids []string) (err error)

func (*Repo) RegisterDefaults

func (this *Repo) RegisterDefaults() (err error)

func (*Repo) RegisterDevice

func (this *Repo) RegisterDevice(device model.Device) (err error)

func (*Repo) RegisterDeviceGroup

func (this *Repo) RegisterDeviceGroup(group model.DeviceGroup) error

func (*Repo) RegisterDeviceType

func (this *Repo) RegisterDeviceType(deviceType model.DeviceType) (err error)

func (*Repo) RegisterListFunctions

func (this *Repo) RegisterListFunctions(functionInfos []model.Function) (err error)

func (*Repo) RegisterProtocol

func (this *Repo) RegisterProtocol(protocol model.Protocol) (err error)

Jump to

Keyboard shortcuts

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