Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRDSClient ¶
type MockRDSClient struct { MockGetInstance func(string) (*rds.Instance, error) MockCreateInstance func(string, string, *v1alpha1.RDSInstanceSpec) (*rds.Instance, error) MockDeleteInstance func(name string) (*rds.Instance, error) }
func (*MockRDSClient) CreateInstance ¶
func (m *MockRDSClient) CreateInstance(name, password string, spec *v1alpha1.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.