Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudwatchInterface ¶
type CloudwatchInterface interface {
PutMetricData(ctx context.Context, params *cloudwatch.PutMetricDataInput, optFns ...func(options *cloudwatch.Options)) (*cloudwatch.PutMetricDataOutput, error)
}
CloudwatchInterface provides an interface for Cloudwatch.
type GraphQLClient ¶
type GraphQLClient interface {
Query(ctx context.Context, q interface{}, variables map[string]interface{}, options ...graphql.Option) error
}
GraphQLClient provides an interface for the graphql client.
type MetricsCollector ¶
type MetricsCollector interface {
CollectMetrics(ctx context.Context, start, end time.Time) ([]awstypes.MetricDatum, error)
}
MetricsCollector provides an interface for a metrics collector.
type MetricsPusher ¶
type MetricsPusher interface {
Push(ctx context.Context, namespace string, metricData []awstypes.MetricDatum) error
}
MetricsPusher provides an interface for a metrics pusher.
Click to show internal directories.
Click to hide internal directories.