-
Notifications
You must be signed in to change notification settings - Fork 23
/
db_subnet_groups_client.go
36 lines (30 loc) · 1.04 KB
/
db_subnet_groups_client.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package fakes
import awsrds "github.com/aws/aws-sdk-go/service/rds"
type DBSubnetGroupsClient struct {
DescribeDBSubnetGroupsCall struct {
CallCount int
Returns struct {
Output *awsrds.DescribeDBSubnetGroupsOutput
Error error
}
}
DeleteDBSubnetGroupCall struct {
CallCount int
Receives struct {
Input *awsrds.DeleteDBSubnetGroupInput
}
Returns struct {
Output *awsrds.DeleteDBSubnetGroupOutput
Error error
}
}
}
func (d *DBSubnetGroupsClient) DeleteDBSubnetGroup(input *awsrds.DeleteDBSubnetGroupInput) (*awsrds.DeleteDBSubnetGroupOutput, error) {
d.DeleteDBSubnetGroupCall.CallCount++
d.DeleteDBSubnetGroupCall.Receives.Input = input
return d.DeleteDBSubnetGroupCall.Returns.Output, d.DeleteDBSubnetGroupCall.Returns.Error
}
func (d *DBSubnetGroupsClient) DescribeDBSubnetGroups(input *awsrds.DescribeDBSubnetGroupsInput) (*awsrds.DescribeDBSubnetGroupsOutput, error) {
d.DescribeDBSubnetGroupsCall.CallCount++
return d.DescribeDBSubnetGroupsCall.Returns.Output, d.DescribeDBSubnetGroupsCall.Returns.Error
}