fetcherinterfaces

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Has(key cache.CacheKey) bool
	Set(key cache.CacheKey, value int)
	Get(key cache.CacheKey) (int, bool)
}

type CloudWatchFetcher

type CloudWatchFetcher interface {
	FetchMetric(ctx context.Context, query sdktypes.FunctionQuery, metricName string, stat string) ([]types.MetricDataResult, error)
}

This interface matches cloudwatchfetcher.Fetcher for tetsing the internal functions

type LambdaClient

type LambdaClient interface {
	GetFunction(ctx context.Context, params *lambda.GetFunctionInput, optFns ...func(*lambda.Options)) (*lambda.GetFunctionOutput, error)
}

This interface matches lambda.Client for tetsing the internal functions

type LogsInsightsFetcher

type LogsInsightsFetcher interface {
	RunQuery(ctx context.Context, fq sdktypes.FunctionQuery, queryString string) ([]map[string]string, error)
}

This interface matches logsinsightsfetcher.Fetcher for tetsing the internal functions

Jump to

Keyboard shortcuts

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