Event Function¶
Event functions can be configured with event triggers and integrate a variety of OpenTelekomCloud products (such as object storage service OBS, distributed messaging service RabbitMQ version, cloud log service LTS, etc.).
FunctionGraph C# libraries¶
The FunctionGraph C# runtime SDK provides the following libraries to help you develop C# event functions.
Core libraries¶
OpenTelekomCloud.Serverless.Function.Common
This library provides the Context structure, which contains the runtime information of the function and provides methods to obtain the runtime information.
OpenTelekomCloud.Serverless.Function.Common.JsonSerializer
This library contains a custom IFunctionSerializer implementation which uses Newtonsoft.Json to serialize/deserialize .NET types in FunctionGraph.
Event libraries¶
OpenTelekomCloud.Serverless.Function.Common.Events.APIG
Event library for API Gateway events.
OpenTelekomCloud.Serverless.Function.Common.Events.CTS
Event library for Cloud Trace Service (CTS) timer events.
OpenTelekomCloud.Serverless.Function.Common.Events.DMS4Kafka
Event library for Distributed Messaging Service for Kafka events.
OpenTelekomCloud.Serverless.Function.Common.Events.LTS
Event library for Log Tank Service (LTS) events.
OpenTelekomCloud.Serverless.Function.Common.Events.OBSS3
Event library for Object Storage Service (OBS) S3 events.
OpenTelekomCloud.Serverless.Function.Common.Events.OpenSourceKafka
Event library for Open Source Kafka events.
OpenTelekomCloud.Serverless.Function.Common.Events.SMN
Event library for Simple Message Notification (SMN) events.
OpenTelekomCloud.Serverless.Function.Common.Events.Timer
Event library for Timer events.
Test libraries¶
OpenTelekomCloud.Serverless.Function.Common
This library provides utility methods for unit testing C# functions developed for FunctionGraph.
Additional libraries¶
OpenTelekomCloud community provides following libraries for C# development:
The community edition of OTC SDK for API signing in C# provides utility methods to handle request signing.