Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoTargets = errors.New("no ingest targets registered")
ErrNoTargets is reserved for future use when the daemon has no registered services.
Functions ¶
This section is empty.
Types ¶
type AWSLogsClient ¶
type AWSLogsClient interface {
FilterEvents(ctx context.Context, logGroup string, startMs, endMs int64, limit int32, nextToken *string) (*cwaws.FilterEventsPage, error)
}
AWSLogsClient is the subset of internal/aws.LogsClient that ingest uses. Defined here so tests can inject a fake without spinning up a real AWS SDK.
type LogsClientFactory ¶
type LogsClientFactory func(ctx context.Context, region string) (AWSLogsClient, error)
LogsClientFactory builds an AWSLogsClient for a given region. The runner caches one per region.
Click to show internal directories.
Click to hide internal directories.