moq_aws

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildMockMetricDataResult

func BuildMockMetricDataResult(modifyFn func(*cloudwatch.MetricDataResult)) *cloudwatch.MetricDataResult

Types

type MockCloudWatchClient

type MockCloudWatchClient struct {
	cloudwatchiface.CloudWatchAPI
	GetMetricDataFn func(input *cloudwatch.GetMetricDataInput) (*cloudwatch.GetMetricDataOutput, error)
}

func BuildMockCloudWatchClient

func BuildMockCloudWatchClient(modifyFn func(*MockCloudWatchClient)) *MockCloudWatchClient

func (*MockCloudWatchClient) GetMetricData

type MockElastiCacheClient

type MockElastiCacheClient struct {
	elasticacheiface.ElastiCacheAPI
	DescribeReplicationGroupsFn func(input *elasticache.DescribeReplicationGroupsInput) (*elasticache.DescribeReplicationGroupsOutput, error)
}

func BuildMockElastiCacheClient

func BuildMockElastiCacheClient(modifyFn func(client *MockElastiCacheClient)) *MockElastiCacheClient

Jump to

Keyboard shortcuts

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