types

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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