Documentation ¶
Index ¶
- func NewMockCloudWatchEventClient() interfaces.CloudWatchEventClient
- type MockCloudWatchEventClient
- func (c *MockCloudWatchEventClient) DeleteRule(input *cloudwatchevents.DeleteRuleInput) (*cloudwatchevents.DeleteRuleOutput, error)
- func (c *MockCloudWatchEventClient) PutRule(input *cloudwatchevents.PutRuleInput) (*cloudwatchevents.PutRuleOutput, error)
- func (c *MockCloudWatchEventClient) PutTargets(input *cloudwatchevents.PutTargetsInput) (*cloudwatchevents.PutTargetsOutput, error)
- func (c *MockCloudWatchEventClient) RemoveTargets(input *cloudwatchevents.RemoveTargetsInput) (*cloudwatchevents.RemoveTargetsOutput, error)
- func (c *MockCloudWatchEventClient) SetDeleteRuleFunc(deleteRule deleteRuleFunc)
- func (c *MockCloudWatchEventClient) SetPutRuleFunc(putRule putRuleFunc)
- func (c *MockCloudWatchEventClient) SetPutTargetsFunc(putTargets putTargetsFunc)
- func (c *MockCloudWatchEventClient) SetRemoveTargetsFunc(removeTargets removeTargetsFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockCloudWatchEventClient ¶
func NewMockCloudWatchEventClient() interfaces.CloudWatchEventClient
Types ¶
type MockCloudWatchEventClient ¶
type MockCloudWatchEventClient struct {
// contains filtered or unexported fields
}
A mock implementation of CloudWatchEventClient for use in tests.
func (*MockCloudWatchEventClient) DeleteRule ¶
func (c *MockCloudWatchEventClient) DeleteRule(input *cloudwatchevents.DeleteRuleInput) ( *cloudwatchevents.DeleteRuleOutput, error)
func (*MockCloudWatchEventClient) PutRule ¶
func (c *MockCloudWatchEventClient) PutRule(input *cloudwatchevents.PutRuleInput) ( *cloudwatchevents.PutRuleOutput, error)
func (*MockCloudWatchEventClient) PutTargets ¶
func (c *MockCloudWatchEventClient) PutTargets(input *cloudwatchevents.PutTargetsInput) ( *cloudwatchevents.PutTargetsOutput, error)
func (*MockCloudWatchEventClient) RemoveTargets ¶
func (c *MockCloudWatchEventClient) RemoveTargets(input *cloudwatchevents.RemoveTargetsInput) ( *cloudwatchevents.RemoveTargetsOutput, error)
func (*MockCloudWatchEventClient) SetDeleteRuleFunc ¶
func (c *MockCloudWatchEventClient) SetDeleteRuleFunc(deleteRule deleteRuleFunc)
func (*MockCloudWatchEventClient) SetPutRuleFunc ¶
func (c *MockCloudWatchEventClient) SetPutRuleFunc(putRule putRuleFunc)
func (*MockCloudWatchEventClient) SetPutTargetsFunc ¶
func (c *MockCloudWatchEventClient) SetPutTargetsFunc(putTargets putTargetsFunc)
func (*MockCloudWatchEventClient) SetRemoveTargetsFunc ¶
func (c *MockCloudWatchEventClient) SetRemoveTargetsFunc(removeTargets removeTargetsFunc)
Click to show internal directories.
Click to hide internal directories.