Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
Client *api.Client
Region string
DefaultRegion string
// AvailableRegions is the optional caller-supplied region set used when
// `Region == "all"`. When empty the driver falls back to a small built-in
// list of commercial-partition regions; a real probe via DescribeRegions
// happens upstream in the EC2 driver and is not duplicated here.
AvailableRegions []string
// contains filtered or unexported fields
}
Driver enumerates AWS CloudWatch Logs log groups across one or all regions and surfaces them as the cloudlist `log` asset. Per-region failures are captured via PartialError so a single denied region does not abort the remaining cloudlist work.
func (*Driver) GetLogs ¶
GetLogs returns one schema.Log per log group, surfaced as `<region>/<logGroupName>` with the storage size in description.
func (*Driver) PartialError ¶
PartialError returns the aggregated per-region errors collected during the last GetLogs call (nil when every region succeeded).
Click to show internal directories.
Click to hide internal directories.