Documentation ¶
Index ¶
- type MockDBSubnetGroupClient
- func (m *MockDBSubnetGroupClient) CreateDBSubnetGroupRequest(input *rds.CreateDBSubnetGroupInput) rds.CreateDBSubnetGroupRequest
- func (m *MockDBSubnetGroupClient) DeleteDBSubnetGroupRequest(input *rds.DeleteDBSubnetGroupInput) rds.DeleteDBSubnetGroupRequest
- func (m *MockDBSubnetGroupClient) DescribeDBSubnetGroupsRequest(input *rds.DescribeDBSubnetGroupsInput) rds.DescribeDBSubnetGroupsRequest
- type MockRDSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDBSubnetGroupClient ¶
type MockDBSubnetGroupClient struct { MockCreateDBSubnetGroupRequest func(*rds.CreateDBSubnetGroupInput) rds.CreateDBSubnetGroupRequest MockDeleteDBSubnetGroupRequest func(*rds.DeleteDBSubnetGroupInput) rds.DeleteDBSubnetGroupRequest MockDescribeDBSubnetGroupsRequest func(*rds.DescribeDBSubnetGroupsInput) rds.DescribeDBSubnetGroupsRequest }
MockDBSubnetGroupClient is a type that implements all the methods for DBSubnetGroupClient interface
func (*MockDBSubnetGroupClient) CreateDBSubnetGroupRequest ¶
func (m *MockDBSubnetGroupClient) CreateDBSubnetGroupRequest(input *rds.CreateDBSubnetGroupInput) rds.CreateDBSubnetGroupRequest
CreateDBSubnetGroupRequest mocks CreateDBSubnetGroupRequest method
func (*MockDBSubnetGroupClient) DeleteDBSubnetGroupRequest ¶
func (m *MockDBSubnetGroupClient) DeleteDBSubnetGroupRequest(input *rds.DeleteDBSubnetGroupInput) rds.DeleteDBSubnetGroupRequest
DeleteDBSubnetGroupRequest mocks DeleteDBSubnetGroupRequest method
func (*MockDBSubnetGroupClient) DescribeDBSubnetGroupsRequest ¶
func (m *MockDBSubnetGroupClient) DescribeDBSubnetGroupsRequest(input *rds.DescribeDBSubnetGroupsInput) rds.DescribeDBSubnetGroupsRequest
DescribeDBSubnetGroupsRequest mocks DescribeDBSubnetGroupsRequest method
type MockRDSClient ¶
type MockRDSClient struct { MockGetInstance func(string) (*rds.Instance, error) MockCreateInstance func(string, string, *v1alpha2.RDSInstanceSpec) (*rds.Instance, error) MockDeleteInstance func(name string) (*rds.Instance, error) }
MockRDSClient for testing.
func (*MockRDSClient) CreateInstance ¶
func (m *MockRDSClient) CreateInstance(name, password string, spec *v1alpha2.RDSInstanceSpec) (*rds.Instance, error)
CreateInstance creates RDS Instance with provided Specification
func (*MockRDSClient) DeleteInstance ¶
func (m *MockRDSClient) DeleteInstance(name string) (*rds.Instance, error)
DeleteInstance deletes RDS Instance
func (*MockRDSClient) GetInstance ¶
func (m *MockRDSClient) GetInstance(name string) (*rds.Instance, error)
GetInstance finds RDS Instance by name
Click to show internal directories.
Click to hide internal directories.