Documentation ¶
Index ¶
- Constants
- func CapabilityCreatedHandler(ctx context.Context, event kafkamsgs.Event)
- func GetAzureParentAdministrativeUnitID(ctx context.Context) string
- func GetLogger(ctx context.Context) *zap.Logger
- func PermanentErrorHandler(ctx context.Context, event kafkamsgs.Event, oerr error)
- type AzureClient
- type KafkaProducer
Constants ¶
View Source
const ( ContextKeyLogger string = "context_key_logger" ContextKeyAzureClient = "handlers_context_key_azure_client" ContextKeyAzureParentAdministrativeUnitID = "handlers_context_key_azure_parent_administrative_unit_id" ContextKeyKafkaProducer = "handlers_context_key_kafka_producer" ContextKeyKafkaErrorProducer = "handlers_context_key_kafka_error_producer" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AzureClient ¶
type AzureClient interface {
CreateAdministrativeUnitGroup(ctx context.Context, requestPayload azure.CreateAdministrativeUnitGroupRequest) (*azure.CreateAdministrativeUnitGroupResponse, error)
}
func GetAzureClient ¶
func GetAzureClient(ctx context.Context) AzureClient
type KafkaProducer ¶
func GetKafkaErrorProducer ¶
func GetKafkaErrorProducer(ctx context.Context) KafkaProducer
func GetKafkaProducer ¶
func GetKafkaProducer(ctx context.Context) KafkaProducer
Click to show internal directories.
Click to hide internal directories.