Documentation
¶
Index ¶
- Variables
- type AzureClient
- type Processor
- func (p *Processor) EventDataProcessor(activityLogEvent *azure.ActivityLogEventRecord) (commons.DataAdapter[*azure.ActivityLogEventRecord], error)
- func (p *Processor) GetDataFromLiveEvent(event entities.PipelineEvent) ([]byte, error)
- func (p *Processor) Process(input entities.PipelineEvent) (entities.PipelineEvent, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedEventSource = fmt.Errorf("unsupported event source")
)
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶ added in v0.5.2
type AzureClient struct {
// contains filtered or unexported fields
}
func NewClient ¶ added in v0.5.2
func NewClient(getter azure.ClientInterface, source string) *AzureClient
func (*AzureClient) GetData ¶ added in v0.5.2
func (a *AzureClient) GetData(ctx context.Context, event *azure.ActivityLogEventRecord) ([]byte, error)
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func (*Processor) EventDataProcessor ¶
func (p *Processor) EventDataProcessor(activityLogEvent *azure.ActivityLogEventRecord) (commons.DataAdapter[*azure.ActivityLogEventRecord], error)
func (*Processor) GetDataFromLiveEvent ¶
func (p *Processor) GetDataFromLiveEvent(event entities.PipelineEvent) ([]byte, error)
func (*Processor) Process ¶
func (p *Processor) Process(input entities.PipelineEvent) (entities.PipelineEvent, error)
Click to show internal directories.
Click to hide internal directories.