Documentation ¶
Index ¶
- type GolangRuntime
- func (gr *GolangRuntime) ExecutePipeline(target interface{}, contentType string, edgexcontext *appcontext.Context, ...) *MessageError
- func (gr *GolangRuntime) Initialize(storeClient interfaces.StoreClient, secretProvider *security.SecretProvider)
- func (gr *GolangRuntime) ProcessMessage(edgexcontext *appcontext.Context, envelope types.MessageEnvelope) *MessageError
- func (gr *GolangRuntime) SetTransforms(transforms []appcontext.AppFunction)
- func (gr *GolangRuntime) StartStoreAndForward(appWg *sync.WaitGroup, appCtx context.Context, enabledWg *sync.WaitGroup, ...)
- type MessageError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GolangRuntime ¶
type GolangRuntime struct { TargetType interface{} ServiceKey string // contains filtered or unexported fields }
GolangRuntime represents the golang runtime environment
func (*GolangRuntime) ExecutePipeline ¶ added in v1.1.0
func (gr *GolangRuntime) ExecutePipeline(target interface{}, contentType string, edgexcontext *appcontext.Context, transforms []appcontext.AppFunction, startPosition int, isRetry bool) *MessageError
func (*GolangRuntime) Initialize ¶ added in v1.0.0
func (gr *GolangRuntime) Initialize(storeClient interfaces.StoreClient, secretProvider *security.SecretProvider)
Initialize sets the internal reference to the StoreClient for use when Store and Forward is enabled
func (*GolangRuntime) ProcessMessage ¶ added in v1.0.0
func (gr *GolangRuntime) ProcessMessage(edgexcontext *appcontext.Context, envelope types.MessageEnvelope) *MessageError
ProcessMessage sends the contents of the message thru the functions pipeline
func (*GolangRuntime) SetTransforms ¶ added in v1.0.0
func (gr *GolangRuntime) SetTransforms(transforms []appcontext.AppFunction)
SetTransforms is thread safe to set transforms
func (*GolangRuntime) StartStoreAndForward ¶ added in v1.0.0
func (gr *GolangRuntime) StartStoreAndForward( appWg *sync.WaitGroup, appCtx context.Context, enabledWg *sync.WaitGroup, enabledCtx context.Context, serviceKey string, config *common.ConfigurationStruct, edgeXClients common.EdgeXClients)
type MessageError ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.