package mock
import "github.com/oslokommune/okctl/pkg/mock"
Package mock provides mocks
Index ¶
- Constants
- func DefaultCredentials() *awspkg.Credentials
- func DefaultValidCredentials() *awspkg.Credentials
- func Stacks(status string) []*cloudformation.Stack
- func Subnets() []*ec2.Subnet
- type ACMAPI
- func (a *ACMAPI) DescribeCertificate(input *acm.DescribeCertificateInput) (*acm.DescribeCertificateOutput, error)
- func (a *ACMAPI) ListCertificates(input *acm.ListCertificatesInput) (*acm.ListCertificatesOutput, error)
- type CFAPI
- func (a *CFAPI) CreateStack(in *cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)
- func (a *CFAPI) DeleteStack(in *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
- func (a *CFAPI) DescribeStackEvents(input *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
- func (a *CFAPI) DescribeStacks(stack *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
- type CFRONTAPI
- type CIPAPI
- type CWAPI
- func (c *CWAPI) DeleteAlarms(_ *cloudwatch.DeleteAlarmsInput) (*cloudwatch.DeleteAlarmsOutput, error)
- func (c *CWAPI) DeleteAlarmsRequest(_ *cloudwatch.DeleteAlarmsInput) (*request.Request, *cloudwatch.DeleteAlarmsOutput)
- func (c *CWAPI) DeleteAlarmsWithContext(_ aws.Context, _ *cloudwatch.DeleteAlarmsInput, _ ...request.Option) (*cloudwatch.DeleteAlarmsOutput, error)
- func (c *CWAPI) DeleteAnomalyDetector(_ *cloudwatch.DeleteAnomalyDetectorInput) (*cloudwatch.DeleteAnomalyDetectorOutput, error)
- func (c *CWAPI) DeleteAnomalyDetectorRequest(_ *cloudwatch.DeleteAnomalyDetectorInput) (*request.Request, *cloudwatch.DeleteAnomalyDetectorOutput)
- func (c *CWAPI) DeleteAnomalyDetectorWithContext(_ aws.Context, _ *cloudwatch.DeleteAnomalyDetectorInput, _ ...request.Option) (*cloudwatch.DeleteAnomalyDetectorOutput, error)
- func (c *CWAPI) DeleteDashboards(_ *cloudwatch.DeleteDashboardsInput) (*cloudwatch.DeleteDashboardsOutput, error)
- func (c *CWAPI) DeleteDashboardsRequest(_ *cloudwatch.DeleteDashboardsInput) (*request.Request, *cloudwatch.DeleteDashboardsOutput)
- func (c *CWAPI) DeleteDashboardsWithContext(_ aws.Context, _ *cloudwatch.DeleteDashboardsInput, _ ...request.Option) (*cloudwatch.DeleteDashboardsOutput, error)
- func (c *CWAPI) DeleteInsightRules(_ *cloudwatch.DeleteInsightRulesInput) (*cloudwatch.DeleteInsightRulesOutput, error)
- func (c *CWAPI) DeleteInsightRulesRequest(_ *cloudwatch.DeleteInsightRulesInput) (*request.Request, *cloudwatch.DeleteInsightRulesOutput)
- func (c *CWAPI) DeleteInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DeleteInsightRulesInput, _ ...request.Option) (*cloudwatch.DeleteInsightRulesOutput, error)
- func (c *CWAPI) DeleteMetricStream(_ *cloudwatch.DeleteMetricStreamInput) (*cloudwatch.DeleteMetricStreamOutput, error)
- func (c *CWAPI) DeleteMetricStreamRequest(_ *cloudwatch.DeleteMetricStreamInput) (*request.Request, *cloudwatch.DeleteMetricStreamOutput)
- func (c *CWAPI) DeleteMetricStreamWithContext(_ aws.Context, _ *cloudwatch.DeleteMetricStreamInput, _ ...request.Option) (*cloudwatch.DeleteMetricStreamOutput, error)
- func (c *CWAPI) DescribeAlarmHistory(_ *cloudwatch.DescribeAlarmHistoryInput) (*cloudwatch.DescribeAlarmHistoryOutput, error)
- func (c *CWAPI) DescribeAlarmHistoryPages(_ *cloudwatch.DescribeAlarmHistoryInput, _ func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool) error
- func (c *CWAPI) DescribeAlarmHistoryPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmHistoryInput, _ func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) DescribeAlarmHistoryRequest(_ *cloudwatch.DescribeAlarmHistoryInput) (*request.Request, *cloudwatch.DescribeAlarmHistoryOutput)
- func (c *CWAPI) DescribeAlarmHistoryWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmHistoryInput, _ ...request.Option) (*cloudwatch.DescribeAlarmHistoryOutput, error)
- func (c *CWAPI) DescribeAlarms(_ *cloudwatch.DescribeAlarmsInput) (*cloudwatch.DescribeAlarmsOutput, error)
- func (c *CWAPI) DescribeAlarmsForMetric(_ *cloudwatch.DescribeAlarmsForMetricInput) (*cloudwatch.DescribeAlarmsForMetricOutput, error)
- func (c *CWAPI) DescribeAlarmsForMetricRequest(_ *cloudwatch.DescribeAlarmsForMetricInput) (*request.Request, *cloudwatch.DescribeAlarmsForMetricOutput)
- func (c *CWAPI) DescribeAlarmsForMetricWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsForMetricInput, _ ...request.Option) (*cloudwatch.DescribeAlarmsForMetricOutput, error)
- func (c *CWAPI) DescribeAlarmsPages(_ *cloudwatch.DescribeAlarmsInput, _ func(*cloudwatch.DescribeAlarmsOutput, bool) bool) error
- func (c *CWAPI) DescribeAlarmsPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ func(*cloudwatch.DescribeAlarmsOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) DescribeAlarmsRequest(_ *cloudwatch.DescribeAlarmsInput) (*request.Request, *cloudwatch.DescribeAlarmsOutput)
- func (c *CWAPI) DescribeAlarmsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.Option) (*cloudwatch.DescribeAlarmsOutput, error)
- func (c *CWAPI) DescribeAnomalyDetectors(_ *cloudwatch.DescribeAnomalyDetectorsInput) (*cloudwatch.DescribeAnomalyDetectorsOutput, error)
- func (c *CWAPI) DescribeAnomalyDetectorsRequest(_ *cloudwatch.DescribeAnomalyDetectorsInput) (*request.Request, *cloudwatch.DescribeAnomalyDetectorsOutput)
- func (c *CWAPI) DescribeAnomalyDetectorsWithContext(_ aws.Context, _ *cloudwatch.DescribeAnomalyDetectorsInput, _ ...request.Option) (*cloudwatch.DescribeAnomalyDetectorsOutput, error)
- func (c *CWAPI) DescribeInsightRules(_ *cloudwatch.DescribeInsightRulesInput) (*cloudwatch.DescribeInsightRulesOutput, error)
- func (c *CWAPI) DescribeInsightRulesPages(_ *cloudwatch.DescribeInsightRulesInput, _ func(*cloudwatch.DescribeInsightRulesOutput, bool) bool) error
- func (c *CWAPI) DescribeInsightRulesPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeInsightRulesInput, _ func(*cloudwatch.DescribeInsightRulesOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) DescribeInsightRulesRequest(_ *cloudwatch.DescribeInsightRulesInput) (*request.Request, *cloudwatch.DescribeInsightRulesOutput)
- func (c *CWAPI) DescribeInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DescribeInsightRulesInput, _ ...request.Option) (*cloudwatch.DescribeInsightRulesOutput, error)
- func (c *CWAPI) DisableAlarmActions(_ *cloudwatch.DisableAlarmActionsInput) (*cloudwatch.DisableAlarmActionsOutput, error)
- func (c *CWAPI) DisableAlarmActionsRequest(_ *cloudwatch.DisableAlarmActionsInput) (*request.Request, *cloudwatch.DisableAlarmActionsOutput)
- func (c *CWAPI) DisableAlarmActionsWithContext(_ aws.Context, _ *cloudwatch.DisableAlarmActionsInput, _ ...request.Option) (*cloudwatch.DisableAlarmActionsOutput, error)
- func (c *CWAPI) DisableInsightRules(_ *cloudwatch.DisableInsightRulesInput) (*cloudwatch.DisableInsightRulesOutput, error)
- func (c *CWAPI) DisableInsightRulesRequest(_ *cloudwatch.DisableInsightRulesInput) (*request.Request, *cloudwatch.DisableInsightRulesOutput)
- func (c *CWAPI) DisableInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DisableInsightRulesInput, _ ...request.Option) (*cloudwatch.DisableInsightRulesOutput, error)
- func (c *CWAPI) EnableAlarmActions(_ *cloudwatch.EnableAlarmActionsInput) (*cloudwatch.EnableAlarmActionsOutput, error)
- func (c *CWAPI) EnableAlarmActionsRequest(_ *cloudwatch.EnableAlarmActionsInput) (*request.Request, *cloudwatch.EnableAlarmActionsOutput)
- func (c *CWAPI) EnableAlarmActionsWithContext(_ aws.Context, _ *cloudwatch.EnableAlarmActionsInput, _ ...request.Option) (*cloudwatch.EnableAlarmActionsOutput, error)
- func (c *CWAPI) EnableInsightRules(_ *cloudwatch.EnableInsightRulesInput) (*cloudwatch.EnableInsightRulesOutput, error)
- func (c *CWAPI) EnableInsightRulesRequest(_ *cloudwatch.EnableInsightRulesInput) (*request.Request, *cloudwatch.EnableInsightRulesOutput)
- func (c *CWAPI) EnableInsightRulesWithContext(_ aws.Context, _ *cloudwatch.EnableInsightRulesInput, _ ...request.Option) (*cloudwatch.EnableInsightRulesOutput, error)
- func (c *CWAPI) GetDashboard(_ *cloudwatch.GetDashboardInput) (*cloudwatch.GetDashboardOutput, error)
- func (c *CWAPI) GetDashboardRequest(_ *cloudwatch.GetDashboardInput) (*request.Request, *cloudwatch.GetDashboardOutput)
- func (c *CWAPI) GetDashboardWithContext(_ aws.Context, _ *cloudwatch.GetDashboardInput, _ ...request.Option) (*cloudwatch.GetDashboardOutput, error)
- func (c *CWAPI) GetInsightRuleReport(_ *cloudwatch.GetInsightRuleReportInput) (*cloudwatch.GetInsightRuleReportOutput, error)
- func (c *CWAPI) GetInsightRuleReportRequest(_ *cloudwatch.GetInsightRuleReportInput) (*request.Request, *cloudwatch.GetInsightRuleReportOutput)
- func (c *CWAPI) GetInsightRuleReportWithContext(_ aws.Context, _ *cloudwatch.GetInsightRuleReportInput, _ ...request.Option) (*cloudwatch.GetInsightRuleReportOutput, error)
- func (c *CWAPI) GetMetricData(_ *cloudwatch.GetMetricDataInput) (*cloudwatch.GetMetricDataOutput, error)
- func (c *CWAPI) GetMetricDataPages(_ *cloudwatch.GetMetricDataInput, _ func(*cloudwatch.GetMetricDataOutput, bool) bool) error
- func (c *CWAPI) GetMetricDataPagesWithContext(_ aws.Context, _ *cloudwatch.GetMetricDataInput, _ func(*cloudwatch.GetMetricDataOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) GetMetricDataRequest(_ *cloudwatch.GetMetricDataInput) (*request.Request, *cloudwatch.GetMetricDataOutput)
- func (c *CWAPI) GetMetricDataWithContext(_ aws.Context, _ *cloudwatch.GetMetricDataInput, _ ...request.Option) (*cloudwatch.GetMetricDataOutput, error)
- func (c *CWAPI) GetMetricStatistics(input *cloudwatch.GetMetricStatisticsInput) (*cloudwatch.GetMetricStatisticsOutput, error)
- func (c *CWAPI) GetMetricStatisticsRequest(_ *cloudwatch.GetMetricStatisticsInput) (*request.Request, *cloudwatch.GetMetricStatisticsOutput)
- func (c *CWAPI) GetMetricStatisticsWithContext(_ aws.Context, _ *cloudwatch.GetMetricStatisticsInput, _ ...request.Option) (*cloudwatch.GetMetricStatisticsOutput, error)
- func (c *CWAPI) GetMetricStream(_ *cloudwatch.GetMetricStreamInput) (*cloudwatch.GetMetricStreamOutput, error)
- func (c *CWAPI) GetMetricStreamRequest(_ *cloudwatch.GetMetricStreamInput) (*request.Request, *cloudwatch.GetMetricStreamOutput)
- func (c *CWAPI) GetMetricStreamWithContext(_ aws.Context, _ *cloudwatch.GetMetricStreamInput, _ ...request.Option) (*cloudwatch.GetMetricStreamOutput, error)
- func (c *CWAPI) GetMetricWidgetImage(_ *cloudwatch.GetMetricWidgetImageInput) (*cloudwatch.GetMetricWidgetImageOutput, error)
- func (c *CWAPI) GetMetricWidgetImageRequest(_ *cloudwatch.GetMetricWidgetImageInput) (*request.Request, *cloudwatch.GetMetricWidgetImageOutput)
- func (c *CWAPI) GetMetricWidgetImageWithContext(_ aws.Context, _ *cloudwatch.GetMetricWidgetImageInput, _ ...request.Option) (*cloudwatch.GetMetricWidgetImageOutput, error)
- func (c *CWAPI) ListDashboards(_ *cloudwatch.ListDashboardsInput) (*cloudwatch.ListDashboardsOutput, error)
- func (c *CWAPI) ListDashboardsPages(_ *cloudwatch.ListDashboardsInput, _ func(*cloudwatch.ListDashboardsOutput, bool) bool) error
- func (c *CWAPI) ListDashboardsPagesWithContext(_ aws.Context, _ *cloudwatch.ListDashboardsInput, _ func(*cloudwatch.ListDashboardsOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) ListDashboardsRequest(_ *cloudwatch.ListDashboardsInput) (*request.Request, *cloudwatch.ListDashboardsOutput)
- func (c *CWAPI) ListDashboardsWithContext(_ aws.Context, _ *cloudwatch.ListDashboardsInput, _ ...request.Option) (*cloudwatch.ListDashboardsOutput, error)
- func (c *CWAPI) ListMetricStreams(_ *cloudwatch.ListMetricStreamsInput) (*cloudwatch.ListMetricStreamsOutput, error)
- func (c *CWAPI) ListMetricStreamsPages(_ *cloudwatch.ListMetricStreamsInput, _ func(*cloudwatch.ListMetricStreamsOutput, bool) bool) error
- func (c *CWAPI) ListMetricStreamsPagesWithContext(_ aws.Context, _ *cloudwatch.ListMetricStreamsInput, _ func(*cloudwatch.ListMetricStreamsOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) ListMetricStreamsRequest(_ *cloudwatch.ListMetricStreamsInput) (*request.Request, *cloudwatch.ListMetricStreamsOutput)
- func (c *CWAPI) ListMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.ListMetricStreamsInput, _ ...request.Option) (*cloudwatch.ListMetricStreamsOutput, error)
- func (c *CWAPI) ListMetrics(_ *cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error)
- func (c *CWAPI) ListMetricsPages(_ *cloudwatch.ListMetricsInput, _ func(*cloudwatch.ListMetricsOutput, bool) bool) error
- func (c *CWAPI) ListMetricsPagesWithContext(_ aws.Context, _ *cloudwatch.ListMetricsInput, _ func(*cloudwatch.ListMetricsOutput, bool) bool, _ ...request.Option) error
- func (c *CWAPI) ListMetricsRequest(_ *cloudwatch.ListMetricsInput) (*request.Request, *cloudwatch.ListMetricsOutput)
- func (c *CWAPI) ListMetricsWithContext(_ aws.Context, _ *cloudwatch.ListMetricsInput, _ ...request.Option) (*cloudwatch.ListMetricsOutput, error)
- func (c *CWAPI) ListTagsForResource(_ *cloudwatch.ListTagsForResourceInput) (*cloudwatch.ListTagsForResourceOutput, error)
- func (c *CWAPI) ListTagsForResourceRequest(_ *cloudwatch.ListTagsForResourceInput) (*request.Request, *cloudwatch.ListTagsForResourceOutput)
- func (c *CWAPI) ListTagsForResourceWithContext(_ aws.Context, _ *cloudwatch.ListTagsForResourceInput, _ ...request.Option) (*cloudwatch.ListTagsForResourceOutput, error)
- func (c *CWAPI) PutAnomalyDetector(_ *cloudwatch.PutAnomalyDetectorInput) (*cloudwatch.PutAnomalyDetectorOutput, error)
- func (c *CWAPI) PutAnomalyDetectorRequest(_ *cloudwatch.PutAnomalyDetectorInput) (*request.Request, *cloudwatch.PutAnomalyDetectorOutput)
- func (c *CWAPI) PutAnomalyDetectorWithContext(_ aws.Context, _ *cloudwatch.PutAnomalyDetectorInput, _ ...request.Option) (*cloudwatch.PutAnomalyDetectorOutput, error)
- func (c *CWAPI) PutCompositeAlarm(_ *cloudwatch.PutCompositeAlarmInput) (*cloudwatch.PutCompositeAlarmOutput, error)
- func (c *CWAPI) PutCompositeAlarmRequest(_ *cloudwatch.PutCompositeAlarmInput) (*request.Request, *cloudwatch.PutCompositeAlarmOutput)
- func (c *CWAPI) PutCompositeAlarmWithContext(_ aws.Context, _ *cloudwatch.PutCompositeAlarmInput, _ ...request.Option) (*cloudwatch.PutCompositeAlarmOutput, error)
- func (c *CWAPI) PutDashboard(_ *cloudwatch.PutDashboardInput) (*cloudwatch.PutDashboardOutput, error)
- func (c *CWAPI) PutDashboardRequest(_ *cloudwatch.PutDashboardInput) (*request.Request, *cloudwatch.PutDashboardOutput)
- func (c *CWAPI) PutDashboardWithContext(_ aws.Context, _ *cloudwatch.PutDashboardInput, _ ...request.Option) (*cloudwatch.PutDashboardOutput, error)
- func (c *CWAPI) PutInsightRule(_ *cloudwatch.PutInsightRuleInput) (*cloudwatch.PutInsightRuleOutput, error)
- func (c *CWAPI) PutInsightRuleRequest(_ *cloudwatch.PutInsightRuleInput) (*request.Request, *cloudwatch.PutInsightRuleOutput)
- func (c *CWAPI) PutInsightRuleWithContext(_ aws.Context, _ *cloudwatch.PutInsightRuleInput, _ ...request.Option) (*cloudwatch.PutInsightRuleOutput, error)
- func (c *CWAPI) PutMetricAlarm(_ *cloudwatch.PutMetricAlarmInput) (*cloudwatch.PutMetricAlarmOutput, error)
- func (c *CWAPI) PutMetricAlarmRequest(_ *cloudwatch.PutMetricAlarmInput) (*request.Request, *cloudwatch.PutMetricAlarmOutput)
- func (c *CWAPI) PutMetricAlarmWithContext(_ aws.Context, _ *cloudwatch.PutMetricAlarmInput, _ ...request.Option) (*cloudwatch.PutMetricAlarmOutput, error)
- func (c *CWAPI) PutMetricData(_ *cloudwatch.PutMetricDataInput) (*cloudwatch.PutMetricDataOutput, error)
- func (c *CWAPI) PutMetricDataRequest(_ *cloudwatch.PutMetricDataInput) (*request.Request, *cloudwatch.PutMetricDataOutput)
- func (c *CWAPI) PutMetricDataWithContext(_ aws.Context, _ *cloudwatch.PutMetricDataInput, _ ...request.Option) (*cloudwatch.PutMetricDataOutput, error)
- func (c *CWAPI) PutMetricStream(_ *cloudwatch.PutMetricStreamInput) (*cloudwatch.PutMetricStreamOutput, error)
- func (c *CWAPI) PutMetricStreamRequest(_ *cloudwatch.PutMetricStreamInput) (*request.Request, *cloudwatch.PutMetricStreamOutput)
- func (c *CWAPI) PutMetricStreamWithContext(_ aws.Context, _ *cloudwatch.PutMetricStreamInput, _ ...request.Option) (*cloudwatch.PutMetricStreamOutput, error)
- func (c *CWAPI) SetAlarmState(_ *cloudwatch.SetAlarmStateInput) (*cloudwatch.SetAlarmStateOutput, error)
- func (c *CWAPI) SetAlarmStateRequest(_ *cloudwatch.SetAlarmStateInput) (*request.Request, *cloudwatch.SetAlarmStateOutput)
- func (c *CWAPI) SetAlarmStateWithContext(_ aws.Context, _ *cloudwatch.SetAlarmStateInput, _ ...request.Option) (*cloudwatch.SetAlarmStateOutput, error)
- func (c *CWAPI) StartMetricStreams(_ *cloudwatch.StartMetricStreamsInput) (*cloudwatch.StartMetricStreamsOutput, error)
- func (c *CWAPI) StartMetricStreamsRequest(_ *cloudwatch.StartMetricStreamsInput) (*request.Request, *cloudwatch.StartMetricStreamsOutput)
- func (c *CWAPI) StartMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.StartMetricStreamsInput, _ ...request.Option) (*cloudwatch.StartMetricStreamsOutput, error)
- func (c *CWAPI) StopMetricStreams(_ *cloudwatch.StopMetricStreamsInput) (*cloudwatch.StopMetricStreamsOutput, error)
- func (c *CWAPI) StopMetricStreamsRequest(_ *cloudwatch.StopMetricStreamsInput) (*request.Request, *cloudwatch.StopMetricStreamsOutput)
- func (c *CWAPI) StopMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.StopMetricStreamsInput, _ ...request.Option) (*cloudwatch.StopMetricStreamsOutput, error)
- func (c *CWAPI) TagResource(_ *cloudwatch.TagResourceInput) (*cloudwatch.TagResourceOutput, error)
- func (c *CWAPI) TagResourceRequest(_ *cloudwatch.TagResourceInput) (*request.Request, *cloudwatch.TagResourceOutput)
- func (c *CWAPI) TagResourceWithContext(_ aws.Context, _ *cloudwatch.TagResourceInput, _ ...request.Option) (*cloudwatch.TagResourceOutput, error)
- func (c *CWAPI) UntagResource(_ *cloudwatch.UntagResourceInput) (*cloudwatch.UntagResourceOutput, error)
- func (c *CWAPI) UntagResourceRequest(_ *cloudwatch.UntagResourceInput) (*request.Request, *cloudwatch.UntagResourceOutput)
- func (c *CWAPI) UntagResourceWithContext(_ aws.Context, _ *cloudwatch.UntagResourceInput, _ ...request.Option) (*cloudwatch.UntagResourceOutput, error)
- func (c *CWAPI) WaitUntilAlarmExists(_ *cloudwatch.DescribeAlarmsInput) error
- func (c *CWAPI) WaitUntilAlarmExistsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.WaiterOption) error
- func (c *CWAPI) WaitUntilCompositeAlarmExists(_ *cloudwatch.DescribeAlarmsInput) error
- func (c *CWAPI) WaitUntilCompositeAlarmExistsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.WaiterOption) error
- type CloudProvider
- func NewBadCloudProvider() *CloudProvider
- func NewCloudProvider() *CloudProvider
- func NewGoodCloudProvider() *CloudProvider
- func (p *CloudProvider) ACM() acmiface.ACMAPI
- func (p *CloudProvider) AuthorizeSecurityGroupIngressResponse(output *ec2.AuthorizeSecurityGroupIngressOutput, err error) *CloudProvider
- func (p *CloudProvider) CloudFormation() cloudformationiface.CloudFormationAPI
- func (p *CloudProvider) CloudFront() cloudfrontiface.CloudFrontAPI
- func (p *CloudProvider) CloudWatch() cloudwatchiface.CloudWatchAPI
- func (p *CloudProvider) CognitoIdentityProvider() cognitoidentityprovideriface.CognitoIdentityProviderAPI
- func (p *CloudProvider) CreateStackSuccess() *CloudProvider
- func (p *CloudProvider) DeleteStackSuccess() *CloudProvider
- func (p *CloudProvider) DescribeListenersResponse(output *elbv2.DescribeListenersOutput, err error) *CloudProvider
- func (p *CloudProvider) DescribeSecurityGroupsResponse(output *ec2.DescribeSecurityGroupsOutput, err error) *CloudProvider
- func (p *CloudProvider) DescribeStackEventsSuccess() *CloudProvider
- func (p *CloudProvider) DescribeStacksEmpty() *CloudProvider
- func (p *CloudProvider) DescribeStacksError(err error) *CloudProvider
- func (p *CloudProvider) DescribeStacksResponse(status string) *CloudProvider
- func (p *CloudProvider) EC2() ec2iface.EC2API
- func (p *CloudProvider) EKS() eksiface.EKSAPI
- func (p *CloudProvider) ELBV2() elbv2iface.ELBV2API
- func (p *CloudProvider) IAM() iamiface.IAMAPI
- func (p *CloudProvider) PrincipalARN() string
- func (p *CloudProvider) RevokeSecurityGroupIngressResponse(output *ec2.RevokeSecurityGroupIngressOutput, err error) *CloudProvider
- func (p *CloudProvider) Route53() route53iface.Route53API
- func (p *CloudProvider) S3() s3iface.S3API
- func (p *CloudProvider) SecretsManager() secretsmanageriface.SecretsManagerAPI
- func (p *CloudProvider) ServiceQuotas() servicequotasiface.ServiceQuotasAPI
- type EC2API
- func (a *EC2API) AuthorizeSecurityGroupIngress(input *ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
- func (a *EC2API) DeleteSecurityGroup(input *ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error)
- func (a *EC2API) DescribeAddresses(input *ec2.DescribeAddressesInput) (*ec2.DescribeAddressesOutput, error)
- func (a *EC2API) DescribeInternetGateways(input *ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error)
- func (a *EC2API) DescribeSecurityGroups(input *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
- func (a *EC2API) DescribeSecurityGroupsWithContext(_ aws.Context, input *ec2.DescribeSecurityGroupsInput, _ ...request.Option) (*ec2.DescribeSecurityGroupsOutput, error)
- func (a *EC2API) DescribeSubnets(sub *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
- func (a *EC2API) DescribeVpcs(input *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)
- func (a *EC2API) RevokeSecurityGroupIngress(input *ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error)
- type EKSAPI
- func (a *EKSAPI) DescribeCluster(input *eks.DescribeClusterInput) (*eks.DescribeClusterOutput, error)
- func (a *EKSAPI) DescribeClusterWithContext(_ aws.Context, input *eks.DescribeClusterInput, _ ...request.Option) (*eks.DescribeClusterOutput, error)
- func (a *EKSAPI) DescribeFargateProfile(input *eks.DescribeFargateProfileInput) (*eks.DescribeFargateProfileOutput, error)
- type ELBv2API
- func (a *ELBv2API) DeleteListener(input *elbv2.DeleteListenerInput) (*elbv2.DeleteListenerOutput, error)
- func (a *ELBv2API) DeleteLoadBalancer(input *elbv2.DeleteLoadBalancerInput) (*elbv2.DeleteLoadBalancerOutput, error)
- func (a *ELBv2API) DeleteTargetGroup(input *elbv2.DeleteTargetGroupInput) (*elbv2.DeleteTargetGroupOutput, error)
- func (a *ELBv2API) DescribeListeners(input *elbv2.DescribeListenersInput) (*elbv2.DescribeListenersOutput, error)
- func (a *ELBv2API) DescribeLoadBalancers(input *elbv2.DescribeLoadBalancersInput) (*elbv2.DescribeLoadBalancersOutput, error)
- func (a *ELBv2API) DescribeTags(input *elbv2.DescribeTagsInput) (*elbv2.DescribeTagsOutput, error)
- func (a *ELBv2API) DescribeTargetGroups(input *elbv2.DescribeTargetGroupsInput) (*elbv2.DescribeTargetGroupsOutput, error)
- type IAMAPI
- func (a *IAMAPI) AttachRolePolicy(input *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
- func (a *IAMAPI) DetachRolePolicy(input *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
- type R53API
- func (a *R53API) ListHostedZones(input *route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)
- func (a *R53API) ListResourceRecordSets(input *route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error)
- type S3API
- func (a *S3API) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
- func (a *S3API) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
- func (a *S3API) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
- type SMAPI
- func (a *SMAPI) CancelRotateSecret(input *secretsmanager.CancelRotateSecretInput) (*secretsmanager.CancelRotateSecretOutput, error)
- func (a *SMAPI) RotateSecret(input *secretsmanager.RotateSecretInput) (*secretsmanager.RotateSecretOutput, error)
- type SQAPI
Constants ¶
const ( DefaultAccessKeyID = "ASIAV3ZUEFP6EXAMPLE" DefaultSecretAccessKey = "8P+SQvWIuLnKhh8d++jpw0nNmQRBZvNEXAMPLEKEY" DefaultSessionToken = "" /* 346 byte string literal not displayed */ DefaultExpiration = "2019-11-01T20:26:47Z" DefaultPrincipalARN = "arn:aws:sts::123456789012:assumed-role/admin/user" DefaultRegion = "eu-west-1" DefaultStackName = "myStack" DefaultCloudFrontDistributionARN = "arn:::::/distribution/FHH78FAKE" DefaultFargateProfilePodExecutionRoleARN = "arn:aws:iam::123456789012:role/fargatePodExecutionRole-GHEFFAKE" DefaultListenerARN = "arn:aws:elasticloadbalancing:eu-west-1:123456789012:listener/app/d65FAKE/3f633e2FAKE/cb0f5FAKE" DefaultLoadBalancerARN = "arn:aws:elasticloadbalancing:eu-west-1:123456789012:loadbalancer/app/vbhe933FAKE/145afFAKE" DefaultCertificateARN = "arn:aws:acm:eu-west-1:123456789012:certificate/123456789012-1234-1234-1234-12345678" DefaultDomain = "test.oslo.systems" DefaultClusterName = "test" DefaultTargetGroupARN = "arn:aws:elasticloadbalancing:eu-west-1:123456789012:targetgroup/sfihef303FAKE/69b3FAKE" DefaultVpcID = "ih0fj2f03vpcFAKE" DefaultSecurityGroupID = "sg-dyf9uf03FAKE" DefaultSecurityGroupName = "myCoolSG" )
Functions ¶
func DefaultCredentials ¶
func DefaultCredentials() *awspkg.Credentials
DefaultCredentials returns a mocked set of aws credentials
func DefaultValidCredentials ¶
func DefaultValidCredentials() *awspkg.Credentials
DefaultValidCredentials returns a mocked set of valid credentials
func Stacks ¶
func Stacks(status string) []*cloudformation.Stack
Stacks returns a valid stack describe response
func Subnets ¶
Subnets returns a valid subnet describe response
Types ¶
type ACMAPI ¶
type ACMAPI struct { acmiface.ACMAPI DescribeCertificateFn func(*acm.DescribeCertificateInput) (*acm.DescribeCertificateOutput, error) ListCertificatesFn func(*acm.ListCertificatesInput) (*acm.ListCertificatesOutput, error) }
ACMAPI mocks the ACMAPI interface
func (*ACMAPI) DescribeCertificate ¶
func (a *ACMAPI) DescribeCertificate(input *acm.DescribeCertificateInput) (*acm.DescribeCertificateOutput, error)
DescribeCertificate mocks the invocation
func (*ACMAPI) ListCertificates ¶
func (a *ACMAPI) ListCertificates(input *acm.ListCertificatesInput) (*acm.ListCertificatesOutput, error)
ListCertificates returns mocked invocation
type CFAPI ¶
type CFAPI struct { cloudformationiface.CloudFormationAPI DescribeStacksFn []func(*cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error) CreateStackFn func(*cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error) DeleteStackFn func(*cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error) DescribeStackEventsFn func(*cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error) // contains filtered or unexported fields }
CFAPI provides a mocked structure of the cf API
func (*CFAPI) CreateStack ¶
func (a *CFAPI) CreateStack(in *cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)
CreateStack invokes a mocked response
func (*CFAPI) DeleteStack ¶
func (a *CFAPI) DeleteStack(in *cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)
DeleteStack invokes a mocked a response
func (*CFAPI) DescribeStackEvents ¶
func (a *CFAPI) DescribeStackEvents(input *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
DescribeStackEvents invokes a mocked response
func (*CFAPI) DescribeStacks ¶
func (a *CFAPI) DescribeStacks(stack *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)
DescribeStacks invokes a mocked response
type CFRONTAPI ¶
type CFRONTAPI struct { cloudfrontiface.CloudFrontAPI GetDistributionFn func(*cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error) }
CFRONTAPI mocks the CloudFront API
func (*CFRONTAPI) GetDistribution ¶
func (a *CFRONTAPI) GetDistribution(input *cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error)
GetDistribution invokes a mocked response
type CIPAPI ¶
type CIPAPI struct { cognitoidentityprovideriface.CognitoIdentityProviderAPI DescribeUserPoolDomainFn func(*cognitoidentityprovider.DescribeUserPoolDomainInput) (*cognitoidentityprovider.DescribeUserPoolDomainOutput, error) }
CIPAPI mocks the CognitoIdentityProvider API
func (*CIPAPI) DescribeUserPoolDomain ¶
func (a *CIPAPI) DescribeUserPoolDomain(input *cognitoidentityprovider.DescribeUserPoolDomainInput) (*cognitoidentityprovider.DescribeUserPoolDomainOutput, error)
DescribeUserPoolDomain invokes a mocked response
type CWAPI ¶
type CWAPI struct { GetMetricsStatisticsFn func(input *cloudwatch.GetMetricStatisticsInput) (*cloudwatch.GetMetricStatisticsOutput, error) }
CWAPI mocks the Cloudwatch API
func (*CWAPI) DeleteAlarms ¶
func (c *CWAPI) DeleteAlarms(_ *cloudwatch.DeleteAlarmsInput) (*cloudwatch.DeleteAlarmsOutput, error)
DeleteAlarms returns a mocked response
func (*CWAPI) DeleteAlarmsRequest ¶
func (c *CWAPI) DeleteAlarmsRequest(_ *cloudwatch.DeleteAlarmsInput) (*request.Request, *cloudwatch.DeleteAlarmsOutput)
DeleteAlarmsRequest returns a mocked response
func (*CWAPI) DeleteAlarmsWithContext ¶
func (c *CWAPI) DeleteAlarmsWithContext(_ aws.Context, _ *cloudwatch.DeleteAlarmsInput, _ ...request.Option) (*cloudwatch.DeleteAlarmsOutput, error)
DeleteAlarmsWithContext returns a mocked response
func (*CWAPI) DeleteAnomalyDetector ¶
func (c *CWAPI) DeleteAnomalyDetector(_ *cloudwatch.DeleteAnomalyDetectorInput) (*cloudwatch.DeleteAnomalyDetectorOutput, error)
DeleteAnomalyDetector returns a mocked response
func (*CWAPI) DeleteAnomalyDetectorRequest ¶
func (c *CWAPI) DeleteAnomalyDetectorRequest(_ *cloudwatch.DeleteAnomalyDetectorInput) (*request.Request, *cloudwatch.DeleteAnomalyDetectorOutput)
DeleteAnomalyDetectorRequest returns a mocked response
func (*CWAPI) DeleteAnomalyDetectorWithContext ¶
func (c *CWAPI) DeleteAnomalyDetectorWithContext(_ aws.Context, _ *cloudwatch.DeleteAnomalyDetectorInput, _ ...request.Option) (*cloudwatch.DeleteAnomalyDetectorOutput, error)
DeleteAnomalyDetectorWithContext returns a mocked response
func (*CWAPI) DeleteDashboards ¶
func (c *CWAPI) DeleteDashboards(_ *cloudwatch.DeleteDashboardsInput) (*cloudwatch.DeleteDashboardsOutput, error)
DeleteDashboards returns a mocked response
func (*CWAPI) DeleteDashboardsRequest ¶
func (c *CWAPI) DeleteDashboardsRequest(_ *cloudwatch.DeleteDashboardsInput) (*request.Request, *cloudwatch.DeleteDashboardsOutput)
DeleteDashboardsRequest returns a mocked response
func (*CWAPI) DeleteDashboardsWithContext ¶
func (c *CWAPI) DeleteDashboardsWithContext(_ aws.Context, _ *cloudwatch.DeleteDashboardsInput, _ ...request.Option) (*cloudwatch.DeleteDashboardsOutput, error)
DeleteDashboardsWithContext returns a mocked response
func (*CWAPI) DeleteInsightRules ¶
func (c *CWAPI) DeleteInsightRules(_ *cloudwatch.DeleteInsightRulesInput) (*cloudwatch.DeleteInsightRulesOutput, error)
DeleteInsightRules returns a mocked response
func (*CWAPI) DeleteInsightRulesRequest ¶
func (c *CWAPI) DeleteInsightRulesRequest(_ *cloudwatch.DeleteInsightRulesInput) (*request.Request, *cloudwatch.DeleteInsightRulesOutput)
DeleteInsightRulesRequest returns a mocked response
func (*CWAPI) DeleteInsightRulesWithContext ¶
func (c *CWAPI) DeleteInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DeleteInsightRulesInput, _ ...request.Option) (*cloudwatch.DeleteInsightRulesOutput, error)
DeleteInsightRulesWithContext returns a mocked response
func (*CWAPI) DeleteMetricStream ¶
func (c *CWAPI) DeleteMetricStream(_ *cloudwatch.DeleteMetricStreamInput) (*cloudwatch.DeleteMetricStreamOutput, error)
DeleteMetricStream returns a mocked response
func (*CWAPI) DeleteMetricStreamRequest ¶
func (c *CWAPI) DeleteMetricStreamRequest(_ *cloudwatch.DeleteMetricStreamInput) (*request.Request, *cloudwatch.DeleteMetricStreamOutput)
DeleteMetricStreamRequest returns a mocked response
func (*CWAPI) DeleteMetricStreamWithContext ¶
func (c *CWAPI) DeleteMetricStreamWithContext(_ aws.Context, _ *cloudwatch.DeleteMetricStreamInput, _ ...request.Option) (*cloudwatch.DeleteMetricStreamOutput, error)
DeleteMetricStreamWithContext returns a mocked response
func (*CWAPI) DescribeAlarmHistory ¶
func (c *CWAPI) DescribeAlarmHistory(_ *cloudwatch.DescribeAlarmHistoryInput) (*cloudwatch.DescribeAlarmHistoryOutput, error)
DescribeAlarmHistory returns a mocked response
func (*CWAPI) DescribeAlarmHistoryPages ¶
func (c *CWAPI) DescribeAlarmHistoryPages(_ *cloudwatch.DescribeAlarmHistoryInput, _ func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool) error
DescribeAlarmHistoryPages returns a mocked response
func (*CWAPI) DescribeAlarmHistoryPagesWithContext ¶
func (c *CWAPI) DescribeAlarmHistoryPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmHistoryInput, _ func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool, _ ...request.Option) error
DescribeAlarmHistoryPagesWithContext returns a mocked response
func (*CWAPI) DescribeAlarmHistoryRequest ¶
func (c *CWAPI) DescribeAlarmHistoryRequest(_ *cloudwatch.DescribeAlarmHistoryInput) (*request.Request, *cloudwatch.DescribeAlarmHistoryOutput)
DescribeAlarmHistoryRequest returns a mocked response
func (*CWAPI) DescribeAlarmHistoryWithContext ¶
func (c *CWAPI) DescribeAlarmHistoryWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmHistoryInput, _ ...request.Option) (*cloudwatch.DescribeAlarmHistoryOutput, error)
DescribeAlarmHistoryWithContext returns a mocked response
func (*CWAPI) DescribeAlarms ¶
func (c *CWAPI) DescribeAlarms(_ *cloudwatch.DescribeAlarmsInput) (*cloudwatch.DescribeAlarmsOutput, error)
DescribeAlarms returns a mocked response
func (*CWAPI) DescribeAlarmsForMetric ¶
func (c *CWAPI) DescribeAlarmsForMetric(_ *cloudwatch.DescribeAlarmsForMetricInput) (*cloudwatch.DescribeAlarmsForMetricOutput, error)
DescribeAlarmsForMetric returns a mocked response
func (*CWAPI) DescribeAlarmsForMetricRequest ¶
func (c *CWAPI) DescribeAlarmsForMetricRequest(_ *cloudwatch.DescribeAlarmsForMetricInput) (*request.Request, *cloudwatch.DescribeAlarmsForMetricOutput)
DescribeAlarmsForMetricRequest returns a mocked response
func (*CWAPI) DescribeAlarmsForMetricWithContext ¶
func (c *CWAPI) DescribeAlarmsForMetricWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsForMetricInput, _ ...request.Option) (*cloudwatch.DescribeAlarmsForMetricOutput, error)
DescribeAlarmsForMetricWithContext returns a mocked response
func (*CWAPI) DescribeAlarmsPages ¶
func (c *CWAPI) DescribeAlarmsPages(_ *cloudwatch.DescribeAlarmsInput, _ func(*cloudwatch.DescribeAlarmsOutput, bool) bool) error
DescribeAlarmsPages returns a mocked response
func (*CWAPI) DescribeAlarmsPagesWithContext ¶
func (c *CWAPI) DescribeAlarmsPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ func(*cloudwatch.DescribeAlarmsOutput, bool) bool, _ ...request.Option) error
DescribeAlarmsPagesWithContext returns a mocked response
func (*CWAPI) DescribeAlarmsRequest ¶
func (c *CWAPI) DescribeAlarmsRequest(_ *cloudwatch.DescribeAlarmsInput) (*request.Request, *cloudwatch.DescribeAlarmsOutput)
DescribeAlarmsRequest returns a mocked response
func (*CWAPI) DescribeAlarmsWithContext ¶
func (c *CWAPI) DescribeAlarmsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.Option) (*cloudwatch.DescribeAlarmsOutput, error)
DescribeAlarmsWithContext returns a mocked response
func (*CWAPI) DescribeAnomalyDetectors ¶
func (c *CWAPI) DescribeAnomalyDetectors(_ *cloudwatch.DescribeAnomalyDetectorsInput) (*cloudwatch.DescribeAnomalyDetectorsOutput, error)
DescribeAnomalyDetectors returns a mocked response
func (*CWAPI) DescribeAnomalyDetectorsRequest ¶
func (c *CWAPI) DescribeAnomalyDetectorsRequest(_ *cloudwatch.DescribeAnomalyDetectorsInput) (*request.Request, *cloudwatch.DescribeAnomalyDetectorsOutput)
DescribeAnomalyDetectorsRequest returns a mocked response
func (*CWAPI) DescribeAnomalyDetectorsWithContext ¶
func (c *CWAPI) DescribeAnomalyDetectorsWithContext(_ aws.Context, _ *cloudwatch.DescribeAnomalyDetectorsInput, _ ...request.Option) (*cloudwatch.DescribeAnomalyDetectorsOutput, error)
DescribeAnomalyDetectorsWithContext returns a mocked response
func (*CWAPI) DescribeInsightRules ¶
func (c *CWAPI) DescribeInsightRules(_ *cloudwatch.DescribeInsightRulesInput) (*cloudwatch.DescribeInsightRulesOutput, error)
DescribeInsightRules returns a mocked response
func (*CWAPI) DescribeInsightRulesPages ¶
func (c *CWAPI) DescribeInsightRulesPages(_ *cloudwatch.DescribeInsightRulesInput, _ func(*cloudwatch.DescribeInsightRulesOutput, bool) bool) error
DescribeInsightRulesPages returns a mocked response
func (*CWAPI) DescribeInsightRulesPagesWithContext ¶
func (c *CWAPI) DescribeInsightRulesPagesWithContext(_ aws.Context, _ *cloudwatch.DescribeInsightRulesInput, _ func(*cloudwatch.DescribeInsightRulesOutput, bool) bool, _ ...request.Option) error
DescribeInsightRulesPagesWithContext returns a mocked response
func (*CWAPI) DescribeInsightRulesRequest ¶
func (c *CWAPI) DescribeInsightRulesRequest(_ *cloudwatch.DescribeInsightRulesInput) (*request.Request, *cloudwatch.DescribeInsightRulesOutput)
DescribeInsightRulesRequest returns a mocked response
func (*CWAPI) DescribeInsightRulesWithContext ¶
func (c *CWAPI) DescribeInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DescribeInsightRulesInput, _ ...request.Option) (*cloudwatch.DescribeInsightRulesOutput, error)
DescribeInsightRulesWithContext returns a mocked response
func (*CWAPI) DisableAlarmActions ¶
func (c *CWAPI) DisableAlarmActions(_ *cloudwatch.DisableAlarmActionsInput) (*cloudwatch.DisableAlarmActionsOutput, error)
DisableAlarmActions returns a mocked response
func (*CWAPI) DisableAlarmActionsRequest ¶
func (c *CWAPI) DisableAlarmActionsRequest(_ *cloudwatch.DisableAlarmActionsInput) (*request.Request, *cloudwatch.DisableAlarmActionsOutput)
DisableAlarmActionsRequest returns a mocked response
func (*CWAPI) DisableAlarmActionsWithContext ¶
func (c *CWAPI) DisableAlarmActionsWithContext(_ aws.Context, _ *cloudwatch.DisableAlarmActionsInput, _ ...request.Option) (*cloudwatch.DisableAlarmActionsOutput, error)
DisableAlarmActionsWithContext returns a mocked response
func (*CWAPI) DisableInsightRules ¶
func (c *CWAPI) DisableInsightRules(_ *cloudwatch.DisableInsightRulesInput) (*cloudwatch.DisableInsightRulesOutput, error)
DisableInsightRules returns a mocked response
func (*CWAPI) DisableInsightRulesRequest ¶
func (c *CWAPI) DisableInsightRulesRequest(_ *cloudwatch.DisableInsightRulesInput) (*request.Request, *cloudwatch.DisableInsightRulesOutput)
DisableInsightRulesRequest returns a mocked response
func (*CWAPI) DisableInsightRulesWithContext ¶
func (c *CWAPI) DisableInsightRulesWithContext(_ aws.Context, _ *cloudwatch.DisableInsightRulesInput, _ ...request.Option) (*cloudwatch.DisableInsightRulesOutput, error)
DisableInsightRulesWithContext returns a mocked response
func (*CWAPI) EnableAlarmActions ¶
func (c *CWAPI) EnableAlarmActions(_ *cloudwatch.EnableAlarmActionsInput) (*cloudwatch.EnableAlarmActionsOutput, error)
EnableAlarmActions returns a mocked response
func (*CWAPI) EnableAlarmActionsRequest ¶
func (c *CWAPI) EnableAlarmActionsRequest(_ *cloudwatch.EnableAlarmActionsInput) (*request.Request, *cloudwatch.EnableAlarmActionsOutput)
EnableAlarmActionsRequest returns a mocked response
func (*CWAPI) EnableAlarmActionsWithContext ¶
func (c *CWAPI) EnableAlarmActionsWithContext(_ aws.Context, _ *cloudwatch.EnableAlarmActionsInput, _ ...request.Option) (*cloudwatch.EnableAlarmActionsOutput, error)
EnableAlarmActionsWithContext returns a mocked response
func (*CWAPI) EnableInsightRules ¶
func (c *CWAPI) EnableInsightRules(_ *cloudwatch.EnableInsightRulesInput) (*cloudwatch.EnableInsightRulesOutput, error)
EnableInsightRules returns a mocked response
func (*CWAPI) EnableInsightRulesRequest ¶
func (c *CWAPI) EnableInsightRulesRequest(_ *cloudwatch.EnableInsightRulesInput) (*request.Request, *cloudwatch.EnableInsightRulesOutput)
EnableInsightRulesRequest returns a mocked response
func (*CWAPI) EnableInsightRulesWithContext ¶
func (c *CWAPI) EnableInsightRulesWithContext(_ aws.Context, _ *cloudwatch.EnableInsightRulesInput, _ ...request.Option) (*cloudwatch.EnableInsightRulesOutput, error)
EnableInsightRulesWithContext returns a mocked response
func (*CWAPI) GetDashboard ¶
func (c *CWAPI) GetDashboard(_ *cloudwatch.GetDashboardInput) (*cloudwatch.GetDashboardOutput, error)
GetDashboard returns a mocked response
func (*CWAPI) GetDashboardRequest ¶
func (c *CWAPI) GetDashboardRequest(_ *cloudwatch.GetDashboardInput) (*request.Request, *cloudwatch.GetDashboardOutput)
GetDashboardRequest returns a mocked response
func (*CWAPI) GetDashboardWithContext ¶
func (c *CWAPI) GetDashboardWithContext(_ aws.Context, _ *cloudwatch.GetDashboardInput, _ ...request.Option) (*cloudwatch.GetDashboardOutput, error)
GetDashboardWithContext returns a mocked response
func (*CWAPI) GetInsightRuleReport ¶
func (c *CWAPI) GetInsightRuleReport(_ *cloudwatch.GetInsightRuleReportInput) (*cloudwatch.GetInsightRuleReportOutput, error)
GetInsightRuleReport returns a mocked response
func (*CWAPI) GetInsightRuleReportRequest ¶
func (c *CWAPI) GetInsightRuleReportRequest(_ *cloudwatch.GetInsightRuleReportInput) (*request.Request, *cloudwatch.GetInsightRuleReportOutput)
GetInsightRuleReportRequest returns a mocked response
func (*CWAPI) GetInsightRuleReportWithContext ¶
func (c *CWAPI) GetInsightRuleReportWithContext(_ aws.Context, _ *cloudwatch.GetInsightRuleReportInput, _ ...request.Option) (*cloudwatch.GetInsightRuleReportOutput, error)
GetInsightRuleReportWithContext returns a mocked response
func (*CWAPI) GetMetricData ¶
func (c *CWAPI) GetMetricData(_ *cloudwatch.GetMetricDataInput) (*cloudwatch.GetMetricDataOutput, error)
GetMetricData returns a mocked response
func (*CWAPI) GetMetricDataPages ¶
func (c *CWAPI) GetMetricDataPages(_ *cloudwatch.GetMetricDataInput, _ func(*cloudwatch.GetMetricDataOutput, bool) bool) error
GetMetricDataPages returns a mocked response
func (*CWAPI) GetMetricDataPagesWithContext ¶
func (c *CWAPI) GetMetricDataPagesWithContext(_ aws.Context, _ *cloudwatch.GetMetricDataInput, _ func(*cloudwatch.GetMetricDataOutput, bool) bool, _ ...request.Option) error
GetMetricDataPagesWithContext returns a mocked response
func (*CWAPI) GetMetricDataRequest ¶
func (c *CWAPI) GetMetricDataRequest(_ *cloudwatch.GetMetricDataInput) (*request.Request, *cloudwatch.GetMetricDataOutput)
GetMetricDataRequest returns a mocked response
func (*CWAPI) GetMetricDataWithContext ¶
func (c *CWAPI) GetMetricDataWithContext(_ aws.Context, _ *cloudwatch.GetMetricDataInput, _ ...request.Option) (*cloudwatch.GetMetricDataOutput, error)
GetMetricDataWithContext returns a mocked response
func (*CWAPI) GetMetricStatistics ¶
func (c *CWAPI) GetMetricStatistics(input *cloudwatch.GetMetricStatisticsInput) (*cloudwatch.GetMetricStatisticsOutput, error)
GetMetricStatistics returns a mocked response
func (*CWAPI) GetMetricStatisticsRequest ¶
func (c *CWAPI) GetMetricStatisticsRequest(_ *cloudwatch.GetMetricStatisticsInput) (*request.Request, *cloudwatch.GetMetricStatisticsOutput)
GetMetricStatisticsRequest returns a mocked response
func (*CWAPI) GetMetricStatisticsWithContext ¶
func (c *CWAPI) GetMetricStatisticsWithContext(_ aws.Context, _ *cloudwatch.GetMetricStatisticsInput, _ ...request.Option) (*cloudwatch.GetMetricStatisticsOutput, error)
GetMetricStatisticsWithContext returns a mocked response
func (*CWAPI) GetMetricStream ¶
func (c *CWAPI) GetMetricStream(_ *cloudwatch.GetMetricStreamInput) (*cloudwatch.GetMetricStreamOutput, error)
GetMetricStream returns a mocked response
func (*CWAPI) GetMetricStreamRequest ¶
func (c *CWAPI) GetMetricStreamRequest(_ *cloudwatch.GetMetricStreamInput) (*request.Request, *cloudwatch.GetMetricStreamOutput)
GetMetricStreamRequest returns a mocked response
func (*CWAPI) GetMetricStreamWithContext ¶
func (c *CWAPI) GetMetricStreamWithContext(_ aws.Context, _ *cloudwatch.GetMetricStreamInput, _ ...request.Option) (*cloudwatch.GetMetricStreamOutput, error)
GetMetricStreamWithContext returns a mocked response
func (*CWAPI) GetMetricWidgetImage ¶
func (c *CWAPI) GetMetricWidgetImage(_ *cloudwatch.GetMetricWidgetImageInput) (*cloudwatch.GetMetricWidgetImageOutput, error)
GetMetricWidgetImage returns a mocked response
func (*CWAPI) GetMetricWidgetImageRequest ¶
func (c *CWAPI) GetMetricWidgetImageRequest(_ *cloudwatch.GetMetricWidgetImageInput) (*request.Request, *cloudwatch.GetMetricWidgetImageOutput)
GetMetricWidgetImageRequest returns a mocked response
func (*CWAPI) GetMetricWidgetImageWithContext ¶
func (c *CWAPI) GetMetricWidgetImageWithContext(_ aws.Context, _ *cloudwatch.GetMetricWidgetImageInput, _ ...request.Option) (*cloudwatch.GetMetricWidgetImageOutput, error)
GetMetricWidgetImageWithContext returns a mocked response
func (*CWAPI) ListDashboards ¶
func (c *CWAPI) ListDashboards(_ *cloudwatch.ListDashboardsInput) (*cloudwatch.ListDashboardsOutput, error)
ListDashboards returns a mocked response
func (*CWAPI) ListDashboardsPages ¶
func (c *CWAPI) ListDashboardsPages(_ *cloudwatch.ListDashboardsInput, _ func(*cloudwatch.ListDashboardsOutput, bool) bool) error
ListDashboardsPages returns a mocked response
func (*CWAPI) ListDashboardsPagesWithContext ¶
func (c *CWAPI) ListDashboardsPagesWithContext(_ aws.Context, _ *cloudwatch.ListDashboardsInput, _ func(*cloudwatch.ListDashboardsOutput, bool) bool, _ ...request.Option) error
ListDashboardsPagesWithContext returns a mocked response
func (*CWAPI) ListDashboardsRequest ¶
func (c *CWAPI) ListDashboardsRequest(_ *cloudwatch.ListDashboardsInput) (*request.Request, *cloudwatch.ListDashboardsOutput)
ListDashboardsRequest returns a mocked response
func (*CWAPI) ListDashboardsWithContext ¶
func (c *CWAPI) ListDashboardsWithContext(_ aws.Context, _ *cloudwatch.ListDashboardsInput, _ ...request.Option) (*cloudwatch.ListDashboardsOutput, error)
ListDashboardsWithContext returns a mocked response
func (*CWAPI) ListMetricStreams ¶
func (c *CWAPI) ListMetricStreams(_ *cloudwatch.ListMetricStreamsInput) (*cloudwatch.ListMetricStreamsOutput, error)
ListMetricStreams returns a mocked response
func (*CWAPI) ListMetricStreamsPages ¶
func (c *CWAPI) ListMetricStreamsPages(_ *cloudwatch.ListMetricStreamsInput, _ func(*cloudwatch.ListMetricStreamsOutput, bool) bool) error
ListMetricStreamsPages returns a mocked response
func (*CWAPI) ListMetricStreamsPagesWithContext ¶
func (c *CWAPI) ListMetricStreamsPagesWithContext(_ aws.Context, _ *cloudwatch.ListMetricStreamsInput, _ func(*cloudwatch.ListMetricStreamsOutput, bool) bool, _ ...request.Option) error
ListMetricStreamsPagesWithContext returns a mocked response
func (*CWAPI) ListMetricStreamsRequest ¶
func (c *CWAPI) ListMetricStreamsRequest(_ *cloudwatch.ListMetricStreamsInput) (*request.Request, *cloudwatch.ListMetricStreamsOutput)
ListMetricStreamsRequest returns a mocked response
func (*CWAPI) ListMetricStreamsWithContext ¶
func (c *CWAPI) ListMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.ListMetricStreamsInput, _ ...request.Option) (*cloudwatch.ListMetricStreamsOutput, error)
ListMetricStreamsWithContext returns a mocked response
func (*CWAPI) ListMetrics ¶
func (c *CWAPI) ListMetrics(_ *cloudwatch.ListMetricsInput) (*cloudwatch.ListMetricsOutput, error)
ListMetrics returns a mocked response
func (*CWAPI) ListMetricsPages ¶
func (c *CWAPI) ListMetricsPages(_ *cloudwatch.ListMetricsInput, _ func(*cloudwatch.ListMetricsOutput, bool) bool) error
ListMetricsPages returns a mocked response
func (*CWAPI) ListMetricsPagesWithContext ¶
func (c *CWAPI) ListMetricsPagesWithContext(_ aws.Context, _ *cloudwatch.ListMetricsInput, _ func(*cloudwatch.ListMetricsOutput, bool) bool, _ ...request.Option) error
ListMetricsPagesWithContext returns a mocked response
func (*CWAPI) ListMetricsRequest ¶
func (c *CWAPI) ListMetricsRequest(_ *cloudwatch.ListMetricsInput) (*request.Request, *cloudwatch.ListMetricsOutput)
ListMetricsRequest returns a mocked response
func (*CWAPI) ListMetricsWithContext ¶
func (c *CWAPI) ListMetricsWithContext(_ aws.Context, _ *cloudwatch.ListMetricsInput, _ ...request.Option) (*cloudwatch.ListMetricsOutput, error)
ListMetricsWithContext returns a mocked response
func (*CWAPI) ListTagsForResource ¶
func (c *CWAPI) ListTagsForResource(_ *cloudwatch.ListTagsForResourceInput) (*cloudwatch.ListTagsForResourceOutput, error)
ListTagsForResource returns a mocked response
func (*CWAPI) ListTagsForResourceRequest ¶
func (c *CWAPI) ListTagsForResourceRequest(_ *cloudwatch.ListTagsForResourceInput) (*request.Request, *cloudwatch.ListTagsForResourceOutput)
ListTagsForResourceRequest returns a mocked response
func (*CWAPI) ListTagsForResourceWithContext ¶
func (c *CWAPI) ListTagsForResourceWithContext(_ aws.Context, _ *cloudwatch.ListTagsForResourceInput, _ ...request.Option) (*cloudwatch.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext returns a mocked response
func (*CWAPI) PutAnomalyDetector ¶
func (c *CWAPI) PutAnomalyDetector(_ *cloudwatch.PutAnomalyDetectorInput) (*cloudwatch.PutAnomalyDetectorOutput, error)
PutAnomalyDetector returns a mocked response
func (*CWAPI) PutAnomalyDetectorRequest ¶
func (c *CWAPI) PutAnomalyDetectorRequest(_ *cloudwatch.PutAnomalyDetectorInput) (*request.Request, *cloudwatch.PutAnomalyDetectorOutput)
PutAnomalyDetectorRequest returns a mocked response
func (*CWAPI) PutAnomalyDetectorWithContext ¶
func (c *CWAPI) PutAnomalyDetectorWithContext(_ aws.Context, _ *cloudwatch.PutAnomalyDetectorInput, _ ...request.Option) (*cloudwatch.PutAnomalyDetectorOutput, error)
PutAnomalyDetectorWithContext returns a mocked response
func (*CWAPI) PutCompositeAlarm ¶
func (c *CWAPI) PutCompositeAlarm(_ *cloudwatch.PutCompositeAlarmInput) (*cloudwatch.PutCompositeAlarmOutput, error)
PutCompositeAlarm returns a mocked response
func (*CWAPI) PutCompositeAlarmRequest ¶
func (c *CWAPI) PutCompositeAlarmRequest(_ *cloudwatch.PutCompositeAlarmInput) (*request.Request, *cloudwatch.PutCompositeAlarmOutput)
PutCompositeAlarmRequest returns a mocked response
func (*CWAPI) PutCompositeAlarmWithContext ¶
func (c *CWAPI) PutCompositeAlarmWithContext(_ aws.Context, _ *cloudwatch.PutCompositeAlarmInput, _ ...request.Option) (*cloudwatch.PutCompositeAlarmOutput, error)
PutCompositeAlarmWithContext returns a mocked response
func (*CWAPI) PutDashboard ¶
func (c *CWAPI) PutDashboard(_ *cloudwatch.PutDashboardInput) (*cloudwatch.PutDashboardOutput, error)
PutDashboard returns a mocked response
func (*CWAPI) PutDashboardRequest ¶
func (c *CWAPI) PutDashboardRequest(_ *cloudwatch.PutDashboardInput) (*request.Request, *cloudwatch.PutDashboardOutput)
PutDashboardRequest returns a mocked response
func (*CWAPI) PutDashboardWithContext ¶
func (c *CWAPI) PutDashboardWithContext(_ aws.Context, _ *cloudwatch.PutDashboardInput, _ ...request.Option) (*cloudwatch.PutDashboardOutput, error)
PutDashboardWithContext returns a mocked response
func (*CWAPI) PutInsightRule ¶
func (c *CWAPI) PutInsightRule(_ *cloudwatch.PutInsightRuleInput) (*cloudwatch.PutInsightRuleOutput, error)
PutInsightRule returns a mocked response
func (*CWAPI) PutInsightRuleRequest ¶
func (c *CWAPI) PutInsightRuleRequest(_ *cloudwatch.PutInsightRuleInput) (*request.Request, *cloudwatch.PutInsightRuleOutput)
PutInsightRuleRequest returns a mocked response
func (*CWAPI) PutInsightRuleWithContext ¶
func (c *CWAPI) PutInsightRuleWithContext(_ aws.Context, _ *cloudwatch.PutInsightRuleInput, _ ...request.Option) (*cloudwatch.PutInsightRuleOutput, error)
PutInsightRuleWithContext returns a mocked response
func (*CWAPI) PutMetricAlarm ¶
func (c *CWAPI) PutMetricAlarm(_ *cloudwatch.PutMetricAlarmInput) (*cloudwatch.PutMetricAlarmOutput, error)
PutMetricAlarm returns a mocked response
func (*CWAPI) PutMetricAlarmRequest ¶
func (c *CWAPI) PutMetricAlarmRequest(_ *cloudwatch.PutMetricAlarmInput) (*request.Request, *cloudwatch.PutMetricAlarmOutput)
PutMetricAlarmRequest returns a mocked response
func (*CWAPI) PutMetricAlarmWithContext ¶
func (c *CWAPI) PutMetricAlarmWithContext(_ aws.Context, _ *cloudwatch.PutMetricAlarmInput, _ ...request.Option) (*cloudwatch.PutMetricAlarmOutput, error)
PutMetricAlarmWithContext returns a mocked response
func (*CWAPI) PutMetricData ¶
func (c *CWAPI) PutMetricData(_ *cloudwatch.PutMetricDataInput) (*cloudwatch.PutMetricDataOutput, error)
PutMetricData returns a mocked response
func (*CWAPI) PutMetricDataRequest ¶
func (c *CWAPI) PutMetricDataRequest(_ *cloudwatch.PutMetricDataInput) (*request.Request, *cloudwatch.PutMetricDataOutput)
PutMetricDataRequest returns a mocked response
func (*CWAPI) PutMetricDataWithContext ¶
func (c *CWAPI) PutMetricDataWithContext(_ aws.Context, _ *cloudwatch.PutMetricDataInput, _ ...request.Option) (*cloudwatch.PutMetricDataOutput, error)
PutMetricDataWithContext returns a mocked response
func (*CWAPI) PutMetricStream ¶
func (c *CWAPI) PutMetricStream(_ *cloudwatch.PutMetricStreamInput) (*cloudwatch.PutMetricStreamOutput, error)
PutMetricStream returns a mocked response
func (*CWAPI) PutMetricStreamRequest ¶
func (c *CWAPI) PutMetricStreamRequest(_ *cloudwatch.PutMetricStreamInput) (*request.Request, *cloudwatch.PutMetricStreamOutput)
PutMetricStreamRequest returns a mocked response
func (*CWAPI) PutMetricStreamWithContext ¶
func (c *CWAPI) PutMetricStreamWithContext(_ aws.Context, _ *cloudwatch.PutMetricStreamInput, _ ...request.Option) (*cloudwatch.PutMetricStreamOutput, error)
PutMetricStreamWithContext returns a mocked response
func (*CWAPI) SetAlarmState ¶
func (c *CWAPI) SetAlarmState(_ *cloudwatch.SetAlarmStateInput) (*cloudwatch.SetAlarmStateOutput, error)
SetAlarmState returns a mocked response
func (*CWAPI) SetAlarmStateRequest ¶
func (c *CWAPI) SetAlarmStateRequest(_ *cloudwatch.SetAlarmStateInput) (*request.Request, *cloudwatch.SetAlarmStateOutput)
SetAlarmStateRequest returns a mocked response
func (*CWAPI) SetAlarmStateWithContext ¶
func (c *CWAPI) SetAlarmStateWithContext(_ aws.Context, _ *cloudwatch.SetAlarmStateInput, _ ...request.Option) (*cloudwatch.SetAlarmStateOutput, error)
SetAlarmStateWithContext returns a mocked response
func (*CWAPI) StartMetricStreams ¶
func (c *CWAPI) StartMetricStreams(_ *cloudwatch.StartMetricStreamsInput) (*cloudwatch.StartMetricStreamsOutput, error)
StartMetricStreams returns a mocked response
func (*CWAPI) StartMetricStreamsRequest ¶
func (c *CWAPI) StartMetricStreamsRequest(_ *cloudwatch.StartMetricStreamsInput) (*request.Request, *cloudwatch.StartMetricStreamsOutput)
StartMetricStreamsRequest returns a mocked response
func (*CWAPI) StartMetricStreamsWithContext ¶
func (c *CWAPI) StartMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.StartMetricStreamsInput, _ ...request.Option) (*cloudwatch.StartMetricStreamsOutput, error)
StartMetricStreamsWithContext returns a mocked response
func (*CWAPI) StopMetricStreams ¶
func (c *CWAPI) StopMetricStreams(_ *cloudwatch.StopMetricStreamsInput) (*cloudwatch.StopMetricStreamsOutput, error)
StopMetricStreams returns a mocked response
func (*CWAPI) StopMetricStreamsRequest ¶
func (c *CWAPI) StopMetricStreamsRequest(_ *cloudwatch.StopMetricStreamsInput) (*request.Request, *cloudwatch.StopMetricStreamsOutput)
StopMetricStreamsRequest returns a mocked response
func (*CWAPI) StopMetricStreamsWithContext ¶
func (c *CWAPI) StopMetricStreamsWithContext(_ aws.Context, _ *cloudwatch.StopMetricStreamsInput, _ ...request.Option) (*cloudwatch.StopMetricStreamsOutput, error)
StopMetricStreamsWithContext returns a mocked response
func (*CWAPI) TagResource ¶
func (c *CWAPI) TagResource(_ *cloudwatch.TagResourceInput) (*cloudwatch.TagResourceOutput, error)
TagResource returns a mocked response
func (*CWAPI) TagResourceRequest ¶
func (c *CWAPI) TagResourceRequest(_ *cloudwatch.TagResourceInput) (*request.Request, *cloudwatch.TagResourceOutput)
TagResourceRequest returns a mocked response
func (*CWAPI) TagResourceWithContext ¶
func (c *CWAPI) TagResourceWithContext(_ aws.Context, _ *cloudwatch.TagResourceInput, _ ...request.Option) (*cloudwatch.TagResourceOutput, error)
TagResourceWithContext returns a mocked response
func (*CWAPI) UntagResource ¶
func (c *CWAPI) UntagResource(_ *cloudwatch.UntagResourceInput) (*cloudwatch.UntagResourceOutput, error)
UntagResource returns a mocked response
func (*CWAPI) UntagResourceRequest ¶
func (c *CWAPI) UntagResourceRequest(_ *cloudwatch.UntagResourceInput) (*request.Request, *cloudwatch.UntagResourceOutput)
UntagResourceRequest returns a mocked response
func (*CWAPI) UntagResourceWithContext ¶
func (c *CWAPI) UntagResourceWithContext(_ aws.Context, _ *cloudwatch.UntagResourceInput, _ ...request.Option) (*cloudwatch.UntagResourceOutput, error)
UntagResourceWithContext returns a mocked response
func (*CWAPI) WaitUntilAlarmExists ¶
func (c *CWAPI) WaitUntilAlarmExists(_ *cloudwatch.DescribeAlarmsInput) error
WaitUntilAlarmExists returns a mocked response
func (*CWAPI) WaitUntilAlarmExistsWithContext ¶
func (c *CWAPI) WaitUntilAlarmExistsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.WaiterOption) error
WaitUntilAlarmExistsWithContext returns a mocked response
func (*CWAPI) WaitUntilCompositeAlarmExists ¶
func (c *CWAPI) WaitUntilCompositeAlarmExists(_ *cloudwatch.DescribeAlarmsInput) error
WaitUntilCompositeAlarmExists returns a mocked response
func (*CWAPI) WaitUntilCompositeAlarmExistsWithContext ¶
func (c *CWAPI) WaitUntilCompositeAlarmExistsWithContext(_ aws.Context, _ *cloudwatch.DescribeAlarmsInput, _ ...request.WaiterOption) error
WaitUntilCompositeAlarmExistsWithContext returns a mocked response
type CloudProvider ¶
type CloudProvider struct { v1alpha1.CloudProvider SMAPI *SMAPI S3API *S3API IAMAPI *IAMAPI EC2API *EC2API CFAPI *CFAPI EKSAPI *EKSAPI R53API *R53API CFRONTAPI *CFRONTAPI CIPAPI *CIPAPI SQAPI *SQAPI ACMAPI *ACMAPI ELBv2API *ELBv2API CWAPI *CWAPI }
CloudProvider provides a structure for the mocked CloudProvider
func NewBadCloudProvider ¶
func NewBadCloudProvider() *CloudProvider
NewBadCloudProvider returns a mocked cloud provider with failure set on all nolint: funlen
func NewCloudProvider ¶
func NewCloudProvider() *CloudProvider
NewCloudProvider returns a mocked cloud provider with no mocks sets
func NewGoodCloudProvider ¶
func NewGoodCloudProvider() *CloudProvider
NewGoodCloudProvider returns a mocked cloud provider with success set on all nolint: funlen
func (*CloudProvider) ACM ¶
func (p *CloudProvider) ACM() acmiface.ACMAPI
ACM returns the mocked ACM API
func (*CloudProvider) AuthorizeSecurityGroupIngressResponse ¶
func (p *CloudProvider) AuthorizeSecurityGroupIngressResponse(output *ec2.AuthorizeSecurityGroupIngressOutput, err error) *CloudProvider
AuthorizeSecurityGroupIngressResponse returns the provided outputs
func (*CloudProvider) CloudFormation ¶
func (p *CloudProvider) CloudFormation() cloudformationiface.CloudFormationAPI
CloudFormation returns the mocked CF API
func (*CloudProvider) CloudFront ¶
func (p *CloudProvider) CloudFront() cloudfrontiface.CloudFrontAPI
CloudFront returns the mocked CloudFront API
func (*CloudProvider) CloudWatch ¶
func (p *CloudProvider) CloudWatch() cloudwatchiface.CloudWatchAPI
CloudWatch returns the mocked CW API
func (*CloudProvider) CognitoIdentityProvider ¶
func (p *CloudProvider) CognitoIdentityProvider() cognitoidentityprovideriface.CognitoIdentityProviderAPI
CognitoIdentityProvider returns the mocked CognitoIdentityProvider API
func (*CloudProvider) CreateStackSuccess ¶
func (p *CloudProvider) CreateStackSuccess() *CloudProvider
CreateStackSuccess sets a success response on the mocked CreateStack function
func (*CloudProvider) DeleteStackSuccess ¶
func (p *CloudProvider) DeleteStackSuccess() *CloudProvider
DeleteStackSuccess sets a success response on the mocked DeleteStack function
func (*CloudProvider) DescribeListenersResponse ¶
func (p *CloudProvider) DescribeListenersResponse(output *elbv2.DescribeListenersOutput, err error) *CloudProvider
DescribeListenersResponse returns the provided values
func (*CloudProvider) DescribeSecurityGroupsResponse ¶
func (p *CloudProvider) DescribeSecurityGroupsResponse(output *ec2.DescribeSecurityGroupsOutput, err error) *CloudProvider
DescribeSecurityGroupsResponse returns the provided outputs
func (*CloudProvider) DescribeStackEventsSuccess ¶
func (p *CloudProvider) DescribeStackEventsSuccess() *CloudProvider
DescribeStackEventsSuccess sets a success response on the describe event
func (*CloudProvider) DescribeStacksEmpty ¶
func (p *CloudProvider) DescribeStacksEmpty() *CloudProvider
DescribeStacksEmpty pushes an empty response onto the describe stacks list
func (*CloudProvider) DescribeStacksError ¶
func (p *CloudProvider) DescribeStacksError(err error) *CloudProvider
DescribeStacksError pushes an unsuccessful response onto the describe stacks list
func (*CloudProvider) DescribeStacksResponse ¶
func (p *CloudProvider) DescribeStacksResponse(status string) *CloudProvider
DescribeStacksResponse pushes a success response onto the describe stacks list
func (*CloudProvider) EC2 ¶
func (p *CloudProvider) EC2() ec2iface.EC2API
EC2 returns the mocked EC2 API
func (*CloudProvider) EKS ¶
func (p *CloudProvider) EKS() eksiface.EKSAPI
EKS returns the mocked EKS API
func (*CloudProvider) ELBV2 ¶
func (p *CloudProvider) ELBV2() elbv2iface.ELBV2API
ELBV2 returns the mocked AWS ELBv2 API
func (*CloudProvider) IAM ¶
func (p *CloudProvider) IAM() iamiface.IAMAPI
IAM returns the mocked IAM API
func (*CloudProvider) PrincipalARN ¶
func (p *CloudProvider) PrincipalARN() string
PrincipalARN mocks the principal arn
func (*CloudProvider) RevokeSecurityGroupIngressResponse ¶
func (p *CloudProvider) RevokeSecurityGroupIngressResponse(output *ec2.RevokeSecurityGroupIngressOutput, err error) *CloudProvider
RevokeSecurityGroupIngressResponse returns the provided outputs
func (*CloudProvider) Route53 ¶
func (p *CloudProvider) Route53() route53iface.Route53API
Route53 returns the mocked Route53 API
func (*CloudProvider) S3 ¶
func (p *CloudProvider) S3() s3iface.S3API
S3 returns the mocked S3 API
func (*CloudProvider) SecretsManager ¶
func (p *CloudProvider) SecretsManager() secretsmanageriface.SecretsManagerAPI
SecretsManager returns the mocked SecretsManager API
func (*CloudProvider) ServiceQuotas ¶
func (p *CloudProvider) ServiceQuotas() servicequotasiface.ServiceQuotasAPI
ServiceQuotas returns the mocked SQ API
type EC2API ¶
type EC2API struct { ec2iface.EC2API DescribeSubnetsFn func(*ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error) DescribeAddressesFn func(*ec2.DescribeAddressesInput) (*ec2.DescribeAddressesOutput, error) DescribeInternetGatewaysFn func(*ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error) DescribeVpcsFn func(*ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error) DescribeSecurityGroupsFn func(*ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error) AuthorizeSecurityGroupIngressFn func(*ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error) RevokeSecurityGroupIngressFn func(*ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error) DeleteSecurityGroupFn func(*ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error) }
EC2API provides a mocked structure of the ec2 API
func (*EC2API) AuthorizeSecurityGroupIngress ¶
func (a *EC2API) AuthorizeSecurityGroupIngress(input *ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
AuthorizeSecurityGroupIngress invokes the mocked response
func (*EC2API) DeleteSecurityGroup ¶
func (a *EC2API) DeleteSecurityGroup(input *ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error)
DeleteSecurityGroup returns mocked invocation
func (*EC2API) DescribeAddresses ¶
func (a *EC2API) DescribeAddresses(input *ec2.DescribeAddressesInput) (*ec2.DescribeAddressesOutput, error)
DescribeAddresses invokes the mocked response
func (*EC2API) DescribeInternetGateways ¶
func (a *EC2API) DescribeInternetGateways(input *ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error)
DescribeInternetGateways invokes the mocked response
func (*EC2API) DescribeSecurityGroups ¶
func (a *EC2API) DescribeSecurityGroups(input *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups invokes the mocked response
func (*EC2API) DescribeSecurityGroupsWithContext ¶
func (a *EC2API) DescribeSecurityGroupsWithContext(_ aws.Context, input *ec2.DescribeSecurityGroupsInput, _ ...request.Option) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroupsWithContext invokes the mocked response
func (*EC2API) DescribeSubnets ¶
func (a *EC2API) DescribeSubnets(sub *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets invokes the mocked response
func (*EC2API) DescribeVpcs ¶
func (a *EC2API) DescribeVpcs(input *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)
DescribeVpcs invokes the mocked response
func (*EC2API) RevokeSecurityGroupIngress ¶
func (a *EC2API) RevokeSecurityGroupIngress(input *ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error)
RevokeSecurityGroupIngress invokes the mocked response
type EKSAPI ¶
type EKSAPI struct { eksiface.EKSAPI DescribeClusterFn func(*eks.DescribeClusterInput) (*eks.DescribeClusterOutput, error) DescribeFargateProfileFn func(*eks.DescribeFargateProfileInput) (*eks.DescribeFargateProfileOutput, error) }
EKSAPI mocks eksiface.EKSAPI
func (*EKSAPI) DescribeCluster ¶
func (a *EKSAPI) DescribeCluster(input *eks.DescribeClusterInput) (*eks.DescribeClusterOutput, error)
DescribeCluster mocks describe cluster invocation
func (*EKSAPI) DescribeClusterWithContext ¶
func (a *EKSAPI) DescribeClusterWithContext(_ aws.Context, input *eks.DescribeClusterInput, _ ...request.Option) (*eks.DescribeClusterOutput, error)
DescribeClusterWithContext mocks describe cluster with context invocation
func (*EKSAPI) DescribeFargateProfile ¶
func (a *EKSAPI) DescribeFargateProfile(input *eks.DescribeFargateProfileInput) (*eks.DescribeFargateProfileOutput, error)
DescribeFargateProfile mocks the API invocation
type ELBv2API ¶
type ELBv2API struct { elbv2iface.ELBV2API DescribeListenersFn func(*elbv2.DescribeListenersInput) (*elbv2.DescribeListenersOutput, error) DeleteListenerFn func(*elbv2.DeleteListenerInput) (*elbv2.DeleteListenerOutput, error) DescribeTargetGroupsFn func(*elbv2.DescribeTargetGroupsInput) (*elbv2.DescribeTargetGroupsOutput, error) DescribeTagsFn func(*elbv2.DescribeTagsInput) (*elbv2.DescribeTagsOutput, error) DeleteTargetGroupFn func(*elbv2.DeleteTargetGroupInput) (*elbv2.DeleteTargetGroupOutput, error) DescribeLoadBalancersFn func(*elbv2.DescribeLoadBalancersInput) (*elbv2.DescribeLoadBalancersOutput, error) DeleteLoadBalancerFn func(*elbv2.DeleteLoadBalancerInput) (*elbv2.DeleteLoadBalancerOutput, error) }
ELBv2API mocks the ELBv2 API
func (*ELBv2API) DeleteListener ¶
func (a *ELBv2API) DeleteListener(input *elbv2.DeleteListenerInput) (*elbv2.DeleteListenerOutput, error)
DeleteListener returns the mocked invocation
func (*ELBv2API) DeleteLoadBalancer ¶
func (a *ELBv2API) DeleteLoadBalancer(input *elbv2.DeleteLoadBalancerInput) (*elbv2.DeleteLoadBalancerOutput, error)
DeleteLoadBalancer returns mocked invocation
func (*ELBv2API) DeleteTargetGroup ¶
func (a *ELBv2API) DeleteTargetGroup(input *elbv2.DeleteTargetGroupInput) (*elbv2.DeleteTargetGroupOutput, error)
DeleteTargetGroup returns mocked invocation
func (*ELBv2API) DescribeListeners ¶
func (a *ELBv2API) DescribeListeners(input *elbv2.DescribeListenersInput) (*elbv2.DescribeListenersOutput, error)
DescribeListeners returns the mocked invocation
func (*ELBv2API) DescribeLoadBalancers ¶
func (a *ELBv2API) DescribeLoadBalancers(input *elbv2.DescribeLoadBalancersInput) (*elbv2.DescribeLoadBalancersOutput, error)
DescribeLoadBalancers returns mocked invocation
func (*ELBv2API) DescribeTags ¶
func (a *ELBv2API) DescribeTags(input *elbv2.DescribeTagsInput) (*elbv2.DescribeTagsOutput, error)
DescribeTags returns mocked invocation
func (*ELBv2API) DescribeTargetGroups ¶
func (a *ELBv2API) DescribeTargetGroups(input *elbv2.DescribeTargetGroupsInput) (*elbv2.DescribeTargetGroupsOutput, error)
DescribeTargetGroups returns mocked invocation
type IAMAPI ¶
type IAMAPI struct { iamiface.IAMAPI AttachRolePolicyFn func(*iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error) DetachRolePolicyFn func(*iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error) }
IAMAPI mocks the IAM API
func (*IAMAPI) AttachRolePolicy ¶
func (a *IAMAPI) AttachRolePolicy(input *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
AttachRolePolicy mocks the invocation
func (*IAMAPI) DetachRolePolicy ¶
func (a *IAMAPI) DetachRolePolicy(input *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
DetachRolePolicy mocks the invocation
type R53API ¶
type R53API struct { route53iface.Route53API ListHostedZonesFn func(*route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error) ListResourceRecordSetsFn func(*route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error) }
R53API mocks the Route53 API
func (*R53API) ListHostedZones ¶
func (a *R53API) ListHostedZones(input *route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)
ListHostedZones invokes a mocked response
func (*R53API) ListResourceRecordSets ¶
func (a *R53API) ListResourceRecordSets(input *route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error)
ListResourceRecordSets returns a mocked response
type S3API ¶
type S3API struct { s3iface.S3API PutObjectFn func(*s3.PutObjectInput) (*s3.PutObjectOutput, error) DeleteObjectFn func(*s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error) GetObjectFn func(*s3.GetObjectInput) (*s3.GetObjectOutput, error) }
S3API mocks the S3 API
func (*S3API) DeleteObject ¶
func (a *S3API) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
DeleteObject mocks the invocation
func (*S3API) GetObject ¶
func (a *S3API) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
GetObject mocks the invocation
func (*S3API) PutObject ¶
func (a *S3API) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
PutObject mocks the invocation
type SMAPI ¶
type SMAPI struct { secretsmanageriface.SecretsManagerAPI RotateSecretFn func(*secretsmanager.RotateSecretInput) (*secretsmanager.RotateSecretOutput, error) CancelRotateSecretFn func(*secretsmanager.CancelRotateSecretInput) (*secretsmanager.CancelRotateSecretOutput, error) }
SMAPI mocks the SecretsManager API
func (*SMAPI) CancelRotateSecret ¶
func (a *SMAPI) CancelRotateSecret(input *secretsmanager.CancelRotateSecretInput) (*secretsmanager.CancelRotateSecretOutput, error)
CancelRotateSecret mocks the invocation
func (*SMAPI) RotateSecret ¶
func (a *SMAPI) RotateSecret(input *secretsmanager.RotateSecretInput) (*secretsmanager.RotateSecretOutput, error)
RotateSecret mocks the invocation
type SQAPI ¶
type SQAPI struct { servicequotasiface.ServiceQuotasAPI GetServiceQuotaFn func(*servicequotas.GetServiceQuotaInput) (*servicequotas.GetServiceQuotaOutput, error) }
SQAPI mocks the service quotas interface
func (*SQAPI) GetServiceQuota ¶
func (a *SQAPI) GetServiceQuota(input *servicequotas.GetServiceQuotaInput) (*servicequotas.GetServiceQuotaOutput, error)
GetServiceQuota invokes the mocked response
Source Files ¶
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 35 packages
- Last checked
- 3 days ago –
Tools for package owners.