datastorage

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAIAnalysisCompletedEvent

func CreateAIAnalysisCompletedEvent(
	correlationID string,
	payload ogenclient.AIAnalysisAuditPayload,
) (*repository.AuditEvent, error)

CreateAIAnalysisCompletedEvent creates a typed aianalysis.analysis.completed audit event.

Required fields in payload: - EventType (must be aianalysis.analysis.completed) - AnalysisName - Namespace - Phase - ApprovalRequired - DegradedMode - WarningsCount

func CreateGatewaySignalReceivedEvent

func CreateGatewaySignalReceivedEvent(
	correlationID string,
	payload ogenclient.GatewayAuditPayload,
) (*repository.AuditEvent, error)

CreateGatewaySignalReceivedEvent creates a typed gateway.signal.received audit event.

Required fields in payload: - EventType (must be gateway.signal.received) - SignalName - Namespace - Fingerprint

func CreateOrchestratorLifecycleCreatedEvent

func CreateOrchestratorLifecycleCreatedEvent(
	correlationID string,
	payload ogenclient.RemediationOrchestratorAuditPayload,
) (*repository.AuditEvent, error)

CreateOrchestratorLifecycleCreatedEvent creates a typed orchestrator.lifecycle.created audit event.

Required fields in payload: - EventType (must be orchestrator.lifecycle.created) - RRName - Namespace

func CreateWorkflowExecutionStartedEvent

func CreateWorkflowExecutionStartedEvent(
	correlationID string,
	payload ogenclient.WorkflowExecutionAuditPayload,
) (*repository.AuditEvent, error)

CreateWorkflowExecutionStartedEvent creates a typed workflowexecution.execution.started audit event.

Required fields in payload: - EventType (must be workflowexecution.execution.started) - ExecutionName - Namespace - Phase - WorkflowID - WorkflowVersion - TargetResource - ContainerImage

func CreateWorkflowSelectionCompletedEvent

func CreateWorkflowSelectionCompletedEvent(
	correlationID string,
	payload ogenclient.WorkflowExecutionAuditPayload,
) (*repository.AuditEvent, error)

CreateWorkflowSelectionCompletedEvent creates a typed workflowexecution.selection.completed audit event.

Required fields in payload: - EventType (must be workflowexecution.selection.completed) - ExecutionName - Namespace - Phase - WorkflowID - WorkflowVersion - TargetResource - ContainerImage

Types

This section is empty.

Jump to

Keyboard shortcuts

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