Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudWatchProvider ¶
func NewCloudWatchProvider(client dynamic.Interface, mapper apimeta.RESTMapper, cwClient aws.Client, series []config.MetricSeriesConfig, metricCache *metriccache.MetricCache) provider.MetricsProvider
NewCloudWatchProvider returns an instance of testingProvider, along with its restful.WebService that opens endpoints to post new fake metrics
Types ¶
type CustomMetricResource ¶
type CustomMetricResource struct { provider.CustomMetricInfo types.NamespacedName }
CustomMetricResource wraps provider.CustomMetricInfo in a struct which stores the Name and Namespace of the resource So that we can accurately store and retrieve the metric as if this were an actual metrics server.
Click to show internal directories.
Click to hide internal directories.